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! Learn more

Reply
Anonymous
Not applicable

Matrix Columns, how to filter by only one

I have two columns in my matrix like the view below.  It is base on project ID and then they are drill down by date completed and date expected to be completed

 

I have create a column filter that filters on blanks only and blank on project ID 700. but i get mix results.

 

ID500 700 
 Date CompletedDate ExpectedDate CompletedDate Expected
Blue Inc.4/1/20204/1/2020 5/1/2020
Orange Company4/1/20204/1/20208/1/20208/1/2020
Purple Company05/8/20203/25/20204/25/20203/24/2020

 

This is what i get when i use the column filter that filters on blanks only.  It shows the rows i need but it removes the dates from Project ID  500.

ID500 700 
 Date CompletedDate ExpectedDate CompletedDate Expected
Blue Inc.   5/1/2020

 

If create a filter by Project ID 700 and blanks, The column for Project ID 500 get remove and i need to keep it.

ID700 
 Date CompletedDate Expected
Blue Inc. 5/1/2020

 

This is the output i am expecting to get, only filter by 700

ID500 700 
 Date CompletedDate ExpectedDate CompletedDate Expected
Blue Inc.4/1/20204/1/2020 5/1/2020

 

Any help will be greately appreciated.

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

You could enable the Column Subtotals , thenapply the filter -->greater than 0 to matrix.
9.18.2.1.PNG

Did I answer your question ? Please mark my reply as solution. Thank you very much.

If not, please upload some insensitive data samples and expected output.

 

Best Regards,

Eyelyn Qin

Anonymous
Not applicable

Thanks Evelyn,

 

This seems like a temporary work around, because i can't have the Total and the Filter showing on my visual.  I'll have to hide them by changing the fonts and background, i'll have some column with borders that have no values if i I just make the filter and subtotal blend in to visual.

 

Also, I applied same filter to my none sample data and it just showed all the data regardless of any visual or page filters.  That be something else I'll have to look into cause in the sample data is not doing that. Maybe because the sample data is small.

My ideal view would be to show the data in this matter without having to add a column subtotal or filter within the values.

ID500 700 
 Date CompletedDate ExpectedDate CompletedDate Expected
Blue Inc.4/1/20204/1/2020 5/1/2020

 

thanks,

Anonymous
Not applicable

Thanks everyone for the help, but I am still trying to show both column without one been removed when i filter on blanks.

 

Any additional help will be greatly appreciated.

 

Thanks,

amitchandak
Super User
Super User

@Anonymous , Not very clear.

 

Create a filter column like this

 

Switch (True(),
isblank([ID]) , "Blanks",
"Non Blanks")

 

or a mesure like
measure =
if (selectedvalue(Table[ID]) = 700 , calculate(countrows(Table),filter(all(Table), not(isblank(Table[ID])))),calculate(countrows(Table)))

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

I am attaching a sample of the pbix file. maybe this will make sense the swich statement does the same thing as the If statement i had already.

 

Sample Data

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