Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
samerhaidar0811
Frequent Visitor

Display measure based on selected parameter value

Hey guys,

 

Consider the sample table below: 

samerhaidar0811_0-1663410696666.png


I have a card on my dashboard where i want to display a measure = cost/quantity. However, i want it to have an option where the user can select either to view it in GBP or in the local currency so i created a field parameter and chose the 'GBP Currency' and 'Local Currency' as the values.

So, the goal is to have the user select either the GBP currency or the local currency and have the measure calculated accordingle. So if he selects gbp currency, the measure would be calculated as sum(GBP Cost)/sum(Quantity) and if he selects Local Currency the measure would be sum(Local Currency Cost)/sum(Quantity).

 

Thanks in advance for any tips or help!

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

hI @samerhaidar0811 

Hope it works, please find the attached PBIX file
01.gif

 

Let me know, it works or not

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

2 REPLIES 2
PijushRoy
Super User
Super User

hI @samerhaidar0811 

Hope it works, please find the attached PBIX file
01.gif

 

Let me know, it works or not

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Thanks!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.