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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
katto16
Helper I
Helper I

Visual level filter with DAX

I have this data table visual with serial number column that consists of serial IDs as well as blanks, 0s and "ref", "REF". I want to take them out and only leave the table with actual serial numbers. Is there any way I can set a visual level filter with DAX? I do not want to filter them out in Power Query as I still want to see the original test record if it's needed.

 

image.png

 

In the visual filter pane, I can only set max of two filters but I need 5 filters.

Show items

<> ""

<> 0

doesn't contain "REF"

doesn't contain "ref"

doesn't contain "Ref"

katto16_1-1675240696266.png

Any help is appreciated. Thanks in advance!

 

1 ACCEPTED SOLUTION
johnyip
Solution Sage
Solution Sage

@katto16 You can try changing the filter type to basic filtering first, and then select all the unneeded values from the list. And finally, change the filter type back to advanced filtering, and make some other appropriate changes.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

View solution in original post

2 REPLIES 2
johnyip
Solution Sage
Solution Sage

@katto16 You can try changing the filter type to basic filtering first, and then select all the unneeded values from the list. And finally, change the filter type back to advanced filtering, and make some other appropriate changes.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

A further tips, if you want to filter <> "", maybe you can select an additional random item from the list of basic filtering, after that when you have switched to advanced filtering, alter that random selection to "is not blank" or "is not empty" in the show items when value is option.

 

Depending on your data, I think you may select only one of them, or actually both. If you need both, apply the above steps with two random selections.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors