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
Anonymous
Not applicable

Excluding Blank Values from Slicer and Matrix Visuals in Power BI

Hello everyone,

I'm using a field parameter in Power BI as shown below for a slicer and to dynamically add columns to a matrix visual based on slicer selections:

```dax
Wind Investment Slicer = {
("Name1", NAMEOF('Calculations'[Name1_measure]), 1),
("Name2", NAMEOF('Calculations'[Name2_measure]), 2),
("Name3", NAMEOF('Calculations'[Name3_measure]), 3),
("Name4", NAMEOF('Calculations'[Name4_measure]), 4),
("Name5", NAMEOF('Calculations'[Name5_measure]), 5),
("Name6", NAMEOF('Calculations'[Name6_measure]), 6)
}
```

Can we exclude options from the slicer and matrix visual if their corresponding measure returns blank?
For example, if `[Name3_measure]` is blank, "Name3" shouldn't appear as an option in the slicer.
This question arises from handling a parameter with 26 measures and 5 slicers in my report, where typically only 5-6 measures have values for certain selections. I aim to display only these non-blank measures in the field slicer.

Thank you in advance for any guidance.
Best regards.

2 REPLIES 2
Vroom_Master3
Helper I
Helper I

Vroom_Master3_0-1712325025467.png

Make sure this box on your Field for the Slicer is unchecked. 

Anonymous
Not applicable

Thank you for you reply 
What I am trying to do is show/hide unselected columns , or coumn that has blank values 
and for this I dont have this option :

Hadi2021_0-1712562904986.png

 

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