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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
mtp03
Frequent Visitor

Show N/A on Card visual when slicer is selected

My report shows a summary of all staff performance to target. The Completion Rate is the total performance (sum of all completions) to the target (there are no individually based targets). I have visuals that break this down by the person, but the Completion Rate is an overall figure. Is there a way to make it so if anything is selected in the people slicer, the Completion Rate card visual shows "N/A?" Currently, it takes the person's completed and divides by the overall target, which ends up showing a very low, inaccurate percentage Completion Rate. This number is throwing people off so I put a note there, but was wondering if I can just make it show nothing or "N/A" if any person is selected in the slicer.

1 ACCEPTED SOLUTION

Use 

Measure = IF(
ISFILTERED(PersonColumn),
BLANK(),
SUM(CompletionColumn)
)

View solution in original post

3 REPLIES 3
mtp03
Frequent Visitor

Okay this almost exactly what I need, but if they select more than 1 person, is there a way to do this same thing?

Use 

Measure = IF(
ISFILTERED(PersonColumn),
BLANK(),
SUM(CompletionColumn)
)
pbi-novice
Helper I
Helper I

If the people column has only one filter applied at anytime(selecting specific person(s)), I would use the following:

Measure = IF(
HASONEFILTER(PersonColumn),
BLANK(),
SUM(CompletionColumn)
)
 
And use that measure in place of the "CompletionColumn". You can also replace Blank() with any string such as "N/A".

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors