Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I need to show various Measures in a line chart. in this case is depending of the "Location". Any ideas / measure that could help ?
I think "Var" & "return" could work but not sure how to built that measure.
Thanks & regards
Solved! Go to Solution.
Hello @cristianml
I think something like this is what you are looking for. I don't know where your list of locations is (what table) or what countries you want to use EUR for but this should get you started.
Display Amount = VAR _Location = SELECTEDVALUE ( Locations[Location] ) RETURN SWITCH ( TRUE (), _Location = "Argentina", [FX Rate ARS], _Location = "China", [FX Rate CNY], _Location IN { "AUSTRIA", "BELGIUM", "FINLAND", "FRANCE", "GERMANY", "GREECE", "ITALY", "LATVIA", "SPAIN" }, [FX Rate EUR], _Location = "India", [FX Rate INR], _Location = "Poland", [FX Rate PLN] )
Hello @cristianml
I think something like this is what you are looking for. I don't know where your list of locations is (what table) or what countries you want to use EUR for but this should get you started.
Display Amount = VAR _Location = SELECTEDVALUE ( Locations[Location] ) RETURN SWITCH ( TRUE (), _Location = "Argentina", [FX Rate ARS], _Location = "China", [FX Rate CNY], _Location IN { "AUSTRIA", "BELGIUM", "FINLAND", "FRANCE", "GERMANY", "GREECE", "ITALY", "LATVIA", "SPAIN" }, [FX Rate EUR], _Location = "India", [FX Rate INR], _Location = "Poland", [FX Rate PLN] )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
91 | |
89 | |
79 | |
69 | |
68 |
User | Count |
---|---|
222 | |
128 | |
117 | |
82 | |
77 |