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
procu
New Member

Filter a Matrix to show only fields with values

Hello!

 

I'm building an info dashboard and I need to show many data in form of a table. In one part I'm building a matrix, using the the data base columns as values and selecting the option "change values to rows" to view the matrix as a vertical table, like this:

procu_0-1654187027881.png

 

As you can see, there are many fields (columns) in the matrix that doesn't have any data. I was thinking if perhaps there is a way to filter the table (matrix) to only show the fields that contain info (of any kind) and filter out the ones that are empty.

 

Thanks in advance for your help.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @procu ,

Please refer to my pbix file to see if it helps you.

Create a measure.

Measure = IF(MAX('Table (2)'[value])=BLANK(),BLANK(),1)

Then filter the measure.

vpollymsft_0-1654579616122.png

vpollymsft_1-1654579693738.png

If I have misunderstood your meaning, please provide your pbix file without privacy inforamtion and desired output.

 

Best Regards

Community Support Team _ Polly

 

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

Hi @procu ,

Please refer to my pbix file to see if it helps you.

Create a measure.

Measure = IF(MAX('Table (2)'[value])=BLANK(),BLANK(),1)

Then filter the measure.

vpollymsft_0-1654579616122.png

vpollymsft_1-1654579693738.png

If I have misunderstood your meaning, please provide your pbix file without privacy inforamtion and desired output.

 

Best Regards

Community Support Team _ Polly

 

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

Syk
Super User
Super User

Use the field you want to filter on and in the filter pane select the "is not blank" option under advanced filters

Syk_0-1654187481021.png

 

Thanks for your answer but this does not work because when you select the filter "is not blank", the matrix will be filtered by the empty values that correspond to the field. What I want is, for example, if a choose to view the info of "X" person, and the column "Last Name" doesn't have any value, then the matrix should not show the the column "Last Name" for the person "X" because it's an empty value.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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