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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
villa1980
Resolver I
Resolver I

Metric as a Slicer

Hi,

 I am creating a dahsboard for a department and they have 3 metrics, Quantity, Sales, Margin.

 I have a visual which is by depot and what I would like the user to do is select either of the 3 metrics and that selection then filters the visual.

 I have seen this done but am stuck on how to create it.

 Your help once again appreciated as always

1 ACCEPTED SOLUTION
mark_endicott
Super User
Super User

@villa1980 - you can use field parameters for this here is the documentation: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

View solution in original post

3 REPLIES 3
mark_endicott
Super User
Super User

@villa1980 - you can use field parameters for this here is the documentation: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!

That is great, thank-you Mark, I thought you could only use parameter for Dimensions. Brilliant

@villa1980 - Please remember to mark my answer as the solution. It helps others find an answer quicker. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.