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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cruzp
Helper V
Helper V

Use measure as a Slicer

Hi Team,

 

I have 4 measures that wanted to use as a slicer. 

 

Project Removed = IF(NOT(ISBLANK([Category Previous])) && [Category Current] = "Null" && ([Category Previous] <> BLANK() || [Category Current] <> BLANK()), 
		"✔", BLANK())
New to R4 = 
VAR AmountPreviousWeek = 
    CALCULATE(
        SUM(REP_REVENUE_R1_R4_SNAPSHOT[AMOUNT]),
        FILTER(
            REP_REVENUE_R1_R4_SNAPSHOT,
            REP_REVENUE_R1_R4_SNAPSHOT[SNAPSHOT_DATE_BK] = MAX('Previous Reporting Date'[Previous Reporting Date])
        )
)
RETURN IF(ISBLANK(AmountPreviousWeek) && [Category Previous] = "Null", "✔", BLANK())
Start Change = IF([Start Previous] <> [Start Current] || ISBLANK([Start Previous]) && 
    ([Category Previous] <> BLANK() && [Category Current] <> BLANK()),
	"✔",BLANK())
End Change = IF([End Previous] <> [End Current] || ISBLANK([End Previous]) && 
	([Category Previous] <> BLANK() && [Category Current] <> BLANK()),
	"✔",BLANK())


how do I do it? Please help!

2 REPLIES 2
nvprasad
Solution Sage
Solution Sage

Hi cruzp,

 

The slcier accepts only columns as input. By default you can't add measure to the slicer. You can create a small table using "Enter data" then apply your filters using some dax functions like combination of switch and selected value.

 

Thank you

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.

hi @nvprasad can you able to provide me detailed example since i am new to power bi as well

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.