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.
Here you can see in card visuals currecny value is populating based on the currency toggling option , for creating this dynamic card visuals is used (Refer image 1)
Image 1
_Revenue =
VAR _DisplayUnits = IFERROR ( ABS(INT ( LOG ( ABS ( [Revenue.] ), 1000 ) )), 0 )
VAR _DecimalPlaces = 2
VAR _AMT = ROUND ( DIVIDE ( [Revenue.], 1000 ^ _DisplayUnits ), _DecimalPlaces )
RETURN
COMBINEVALUES(" " ,
SWITCH (
VALUES ( '_Currency Type Filter'[Currency] ),
"LC",FORMAT ( _AMT, [_LC Format] ),
"SEK", FORMAT (_AMT, [_SEK Format] ),
"USD", FORMAT ( _AMT, [_USD Format]),
"EURO", FORMAT ( _AMT, [_EUR Format])
)
,
SWITCH ( _DisplayUnits, 1, "K", 2, "M", 3, "bn", 4, "tn" )
)
Here the challenge is i want to use the same logic also for bar chart it means if i select currency value anything it usd or currency format also should change in bar chart , currently i cannot use the same measure it is not working the image 1 is returning only 1 value but in bar chart i want to show multiple pRODUCTS AND MULTIPLE VALUES
i am attaching pbi file with dummy data
Thanks
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
I tried to create a new measure [Rev V2], and utilized Tabular Editor to show different types of currency format on the visualization.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Hi @Jihwan_Kim , really it helps. May i know what changes you did in the Tabular editor to make the values displayed with Currency symbol?
Hi,
Thank you for your message.
If you go into the tabular editor, you can try writing DAX formula something like below.
You can also see this in the attached file down below.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Hi,
Please check the below picture and the attached pbix file.
I tried to create a new measure [Rev V2], and utilized Tabular Editor to show different types of currency format on the visualization.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |