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
harshadrokade
Post Partisan
Post Partisan

Show NA in Card visulisation when Select all selected in slicer

I have a slicer with categories as 2018, 2019, 2020, 2021, 2022, SelectAll.

 

I have a card visulation chart. I want that when I select slicer value as SelectAll, the card value to be shown as 'NA'. This is because we can;t show all years values on card as it should provide only one value on card visualtion.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@harshadrokade , isfiltered can help

 

if(isfiltered(Table[Year]), selectedvalue(Table[year]) & "", "NA")

 

you can use hasonevalue with isfiltered  - https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

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

View solution in original post

Thanks sir. I will learn how do we add measure & try to implement the solution u gave. Thanks a lot.

View solution in original post

4 REPLIES 4
harshadrokade
Post Partisan
Post Partisan

Thanks sir. Actually I am very new to BI & so I don't know where exactly I have to put this formula. I will read the entire page you shared & in case I don't understand it, I will get back to you.

@harshadrokade , I have suggested a measure. You can create a new measure, what I suggested in last update

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

Thanks sir. I will learn how do we add measure & try to implement the solution u gave. Thanks a lot.

amitchandak
Super User
Super User

@harshadrokade , isfiltered can help

 

if(isfiltered(Table[Year]), selectedvalue(Table[year]) & "", "NA")

 

you can use hasonevalue with isfiltered  - https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

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

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
Top Kudoed Authors