Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi guys!
I have the regional settings of my current file in "English (United States)." However, the auto-display units in my visual card are not matching the format of the following measure for a table visual:
SellOut =
VAR calc = [MGMV]
var decimals = "0.0"
RETURN
SWITCH ( TRUE() ,
calc > 1000000 , FORMAT ( calc / 1000000 , "$" & decimals & "M" ) ,
calc > 1000 , FORMAT ( calc / 1000 , "$" & decimals & "K" ) ,
FORMAT ( calc , "$" & decimals )
)
The card takes a comma as a decimal separator while the table takes a dot as a decimal separator.
I tried changing the "VAR decimals" part to "0,0", but this format is adding a zero to left whenever the value has just one digit (e.g. $06K)
Any idea would be very appreciated! Thanks guys!
User | Count |
---|---|
97 | |
73 | |
69 | |
43 | |
23 |