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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.