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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
amatulis
Helper I
Helper I

Using Measure as a Slicer Question

Hi Community,


I have been successfully using a measure as a slicer in the following scenario: 

 

Labor Revenue = SUM(LaborRevenue) 

 

Disconnected Table - RevSlicer:

Value: 0,1000,2500,5000

 

Slicer Measures:

Labor Revenue Selection= SELECTEDVALUE(RevSlicer[Value])
-- selects revenue values 0 through 5000 in a slicer 
Labor Revenue Filter = IF([Labor Revenue] > [RevSlicer[Value], 1, 0)
--use '1' as a table filter to filter my table based on selection - so execs can see measures for clients over specific revenue thresholds. 
 
This is displayed in a table with column values of Location, Customer, then a bunch of measures for each customer.
 
Works great except for the new request to build a second table for totals by Location with the same measures and slicer options.
Now that I am rolling up to total Location numbers instead of individual Customer, the "Labor Revenue" is no longer sub-5k ever and the slicer doesn't work.  How can I get this to iterate through by customer and perform the same function?  
 

 

3 REPLIES 3
Icey
Community Support
Community Support

Hi @amatulis ,

 

It's best to share us some sample data or a dummy .pbix file for test. Please remove sensitive information.

 

Reference: How to provide sample data in the Power BI Forum

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

@amatulis , Have different measures there that work with the location.  use the same filter condition?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

They all build upon the Labor Revenue Measure, it's the building block for all of the measures I have created (Primarily Rev-Cost for Margins, %GM, Rolling Margins, etc.)   (Does that answer the question?) 

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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