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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
firstch
Helper III
Helper III

Dax for check if slicer is select all

Hi all please help me how to  write dax for check , if the slicer is select all show "-" ,if not show [measure]

 

thank you in advance

Best Regard
firstch

3 REPLIES 3
firstch
Helper III
Helper III

Hi @amitchandak can i modify your dax with this ,

firstch_0-1662083898854.png

 

best regard
firstch

amitchandak
Super User
Super User

@firstch , assume Column is used in slicer 

Measure 1=

var _check = calculate(isfiltered(Table[Column]) , allselected())

return

if(_check, [Measure], blank())

 

or

 

Measure 1=

var _check = calculate(isfiltered(Table[Column]) , allselected())

return

if(_check, [Measure] & "" , "-")

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

Hi @amitchandak 
currently my dax cant track all selected filter event 

firstch_1-1662086288013.png

firstch_2-1662086354094.png

 

Best Regard 
firstch

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.