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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JoanElGran1899
Frequent Visitor

How to use an explicit metric in the whole page.

Hi Everyone! I'm here again with new doubts to resolve, always keep improving!💪

I want to do some buttonswith filters( but the problem is that is with an explicit metric, which is net revenue and % Margin.)

And I can't put the metric as a filter in the column of filters onthe page. (In the object visual I can, but I want in the whole page.)

JoanElGran1899_0-1622622662044.png

Does anyone have any idea of how to doing it?

 

Thank you very much for trying to help me!!

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @JoanElGran1899 ,

 

Believe that the best option for this is to use calculation groups and in that way you do not need to create any buttons and can use a slicer, the syntax should be something similar to:

IF( selectedmeasure() >= 80 , selectedmeasure())

 

Check PIBX file attach with an example for sales but you can then create the other for the margin.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
JoanElGran1899
Frequent Visitor

@MFelix 

How do you links the amount with the filter?
Because i did the column and the table but with the slice does not filter.
Kind regards!

Be aware that this column was created with calculated groups:

https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

If you need I can do a manual with the steps I did for this specific example.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @JoanElGran1899 ,

 

Believe that the best option for this is to use calculation groups and in that way you do not need to create any buttons and can use a slicer, the syntax should be something similar to:

IF( selectedmeasure() >= 80 , selectedmeasure())

 

Check PIBX file attach with an example for sales but you can then create the other for the margin.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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