Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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 |
---|---|
82 | |
72 | |
67 | |
47 | |
36 |
User | Count |
---|---|
111 | |
56 | |
50 | |
42 | |
40 |