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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors