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
kellzp22
Frequent Visitor

Filter on items with no data

Hi All,

 

I have a table visual similar to the below, the visual has 'Show Items With No Data' enabled. What I would like to do is filter on the Procedure column, for all items with 'no data' only. I.e. these are NOT blanks, they simply do not have a value in the table containing this column data.

 

Thanks so much 🙂

 

Event DateNameProcedure Code
01/01/2020Blue Pink1234
02/01/2020Pink Orange 
03/01/2020Organe Yellow 
1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @kellzp22 ,

 

You can create such a measure and add it to 'Filter on this visual'.

Not_blank_filter = 
IF(
    ISBLANK(MAX(Sheet1[Procedure Code]) ),
    0,1
)

v-lionel-msft_0-1595819630172.pngv-lionel-msft_1-1595819651793.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @kellzp22 ,

 

You can create such a measure and add it to 'Filter on this visual'.

Not_blank_filter = 
IF(
    ISBLANK(MAX(Sheet1[Procedure Code]) ),
    0,1
)

v-lionel-msft_0-1595819630172.pngv-lionel-msft_1-1595819651793.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@kellzp22 - Maybe the Complex Selector - https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@kellzp22 , a new column like

 

Not blank  = calculate(countrows(Table),filter(Table,not(isblank([Procedure Code]) || [Procedure Code] = "") )

or

Not blank  = calculate(countrows(Table),filter(Table,len([Procedure Code])>0))

 

blank  = calculate(countrows(Table),filter(Table,(isblank([Procedure Code]) || [Procedure Code] = "") )

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