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
I'm using this to format millions: FORMAT([TotalCost Budget]),"#,##,,.0M")
But when it is less than 1 million I get .5M and I would like to get 0.5M.
Can anybody tell me how should the format string look like?
BR
Lotte
Solved! Go to Solution.
I've found out 😊
FORMAT([TotalCost Budget]),"#,#0,,.0M")
I've found out 😊
FORMAT([TotalCost Budget]),"#,#0,,.0M")
@LotteLaugesen , You need try something like this. That will measure as text
SWITCH ( TRUE() ,
[M1] >= 1000000000 , CONCATENATE("$", FORMAT ([M1]/1000000000, "#,###.0") & "bn") ,
[M1] >= 1000000, CONCATENATE("$", FORMAT (COALESCE([M1], 0)/1000000, "#,###.0" )& "M") ,
[M1] >= 1000, CONCATENATE("$", FORMAT (COALESCE([M1], 0)/1000000, "#,###.0" )& "K") ,
CONCATENATE("$", FORMAT (COALESCE([M1], 0) , "#,###.0")
))
Thank you, @amitchandak
But can't I just change the format string in a way so I get the zero? 0.5M instead of .5M
FORMAT([TotalCost Budget]),"#,##,,.0M")
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |