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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MM1001
Frequent Visitor

0 values not filtering out in matrix?

I have a matrix table with a date colums and a code for the rows. it has a value attached it and I have set it to filter out 0s

MM1001_0-1730117191473.pngMM1001_1-1730117203133.png

Abover you can see the filter I am using and some 0 values still staying behind, the top row only has one line showing 101 units in october in the raw data?

 

Any tips would be great 🙂 thanks

 

1 ACCEPTED SOLUTION
MM1001
Frequent Visitor

Ensuring that my measure and the raw value are filtered to not include 0 solved the issue.

View solution in original post

6 REPLIES 6
MM1001
Frequent Visitor

Ensuring that my measure and the raw value are filtered to not include 0 solved the issue.

Anonymous
Not applicable

Hi @MM1001 ,

 

The reason some 0 values are still visible is because there is other data in the row that has not been filtered out; as long as there is one piece of data in a row, then the entire row is shown.

 

Therefore, you can create a measure that converts 0 values to blank values. You can refer to the following example.


This is my original data:

vkaiyuemsft_0-1730167473045.png

 

Create a measure.

Measure =
VAR _sum = SUM('Table'[Column4])
RETURN
IF(_sum = 0,BLANK(),_sum)

 

Put it into the matrix and leave both rows and columns unchecked show items with no data.

vkaiyuemsft_1-1730167505249.png

 

This way 0 values will be filtered out as blanks, more details can be found in the attachment.

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any 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

@MM1001 Try switching your measure to be a decimal number with 10 decimal places and see if you are just getting very small values that are more than 0?



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...

Also just to add, there is only one line of data for this specific value of 101 in october, there are no lines with this specific code for any other months

 

Unfortunatly not, they are all whole numbers to begin with in the excel data.

@MM1001 Any way you can share a sample file?



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...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.