Trading Cards fields and settings
Every field well and every setting in the format pane of version 1.0.0.0, read from the package you download. The internal names in grey are what a PBIR file or a report-authoring agent uses. Which features need a licence is on the Trading Cards page; every setting works in edit mode with or without one.
10 fields · 13 cards · 66 settings Markdown for AI assistantscatalog.json
Fields
| Field | Takes | Needed | What it is for |
|---|---|---|---|
Cardcard | Column | Optional | One card per value: a rep, a product, a branch. |
Setgroup | Column | Optional | The card's set or class (region, product family): the set line, the set colour and the deck filter. |
Pictureimage | Column | Optional | A picture per card as a base64 image data URI (data:image/png;base64,...), for example a Power Query column. Web addresses are never loaded: the visual makes no external calls. |
Picture (Measure)pictureMeasure | Measure | Optional | The picture as a text measure that returns an image data URI. A measure is not held to the 32,766-character limit of a text column, so larger photos work (join a picture stored in chunks with CONCATENATEX). Wins over Picture when both are bound. |
Captioncaption | Column | Optional | A short line of text per card, such as "Joined 2019". |
Historyperiod | Column | Optional | A period column (months, quarters): a sparkline per stat on the back of the card. Premium. |
Statsstats | Measure | Optional · up to 8 | The numbers on the card, up to eight. Each is ranked against the deck as a percentile. |
Comparecompare | Measure | Optional · up to 8 | A target or prior-period value for each stat, in the same order as Stats: change, trend arrow and tier movement. Premium. |
My Cardmine | Measure | Optional | A measure that is not zero for the viewer's own card, for example IF(SELECTEDVALUE(Reps[Email]) = USERPRINCIPALNAME(), 1): that card is ringed and marked You. Premium. |
Tooltipstooltips | Measure | Optional · up to 5 | Extra measures shown in the tooltip. |
Themetheme
| Setting | Type and options |
|---|---|
ThemeselectedTheme |
|
Collector Skinskin |
|
Transparent BackgroundtransparentBg | On / off |
Layoutlayout
| Setting | Type and options |
|---|---|
Layoutlayout |
|
Stylestyle |
|
Vocabularyvocabulary |
|
Card SizecardSize |
|
Columns (0 = Auto)columns | Number |
Stats On The FrontstatsOnFront | Number |
Sort BysortBy |
|
Click Flips CardclickFlips | On / off |
Wall Mode: Auto-Advance (s, 0 = Off)spotlightSeconds | Number |
Deal-In AnimationdealIn | On / off |
Show ToolbarshowToolbar | On / off |
Show Status StripshowStatus | On / off |
Card Faceface
| Setting | Type and options |
|---|---|
Show PictureshowPicture | On / off |
Picture FitpictureFit |
|
Show Set LineshowSet | On / off |
Show Card NumbershowNumber | On / off |
Show Power ScoreshowPower | On / off |
Show Percentile BarsshowBars | On / off |
Show Percentile NumbersshowPctNumbers | On / off |
Show CaptionshowCaption | On / off |
Show BadgesshowBadges | On / off |
Footer TextfooterText | Text |
Tierstiers
| Setting | Type and options |
|---|---|
Tier Bybasis |
|
Legendary From (Percentile)legendary | Number |
Epic From (Percentile)epic | Number |
Rare From (Percentile)rare | Number |
Legendary NamenameLegendary | Text |
Epic NamenameEpic | Text |
Rare NamenameRare | Text |
Common NamenameCommon | Text |
Statsstats
| Setting | Type and options |
|---|---|
Labellabel | Text |
Lower Is BetterlowerIsBetter | On / off |
Weight In Power Scoreweight | Number |
Combine Periods Bycombine |
|
Comparecompare
| Setting | Type and options |
|---|---|
Compare Ismode |
|
Show Change AsdeltaAs |
|
Show Tier MovementshowMovement | On / off |
Target Status ColorsstatusColors | On / off |
Near Target Within (%)nearPct | Number |
Met ColorcolorMet | Colour |
Near ColorcolorNear | Colour |
Missed ColorcolorMissed | Colour |
Duelduel
| Setting | Type and options |
|---|---|
Opponentopponent |
|
Left Cardleft | Text |
Right Cardright | Text |
My Cardmine
| Setting | Type and options |
|---|---|
Card NamecardName | Text |
Setssets
| Setting | Type and options |
|---|---|
Colorcolor | Colour |
Card Accentaccent
| Setting | Type and options |
|---|---|
Accentfill | Colour |
Numbersnumbers
| Setting | Type and options |
|---|---|
Displaydisplay |
|
Decimalsdecimals |
|
Colorscolors
| Setting | Type and options |
|---|---|
Backgroundbg | Colour |
Card Faceface | Colour |
Textink | Colour |
Labelsmuted | Colour |
Percentile Barsbar | Colour |
CommontierCommon | Colour |
RaretierRare | Colour |
EpictierEpic | Colour |
LegendarytierLegendary | Colour |
Accessibilityaccessibility
| Setting | Type and options |
|---|---|
Reduce MotionreduceMotion |
|
Focus Outline ColorfocusColor | Colour |
Focus Outline Width (px)focusWidth | Number |
Minimum Text Size (px, 0 = Off)minFontSize | Number |
Setting a value in PBIR
In a visual.json, a setting goes under visual.objects, by card and internal name. Toggles take true or false, choices and text a value in single quotes ('auto'), numbers a D suffix (12D).
"visual": {
"visualType": "tradingCardsED3A70C07F4B48958575755F3C103682",
"objects": {
"theme": [{
"properties": {
"transparentBg": { "expr": { "Literal": { "Value": "true" } } }
}
}]
}
}