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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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

@Anonymous , 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
Anonymous
Not applicable

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.