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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |