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

Blank & Zero Values in a Matrix

Good Morning Community,

 

I have an easy one where a matrix I have created, shows the standard deviation of days difference in accordance with their "on-time" measure. Meaning that if the value is >3 then it is considered late, <-4 it is considered early, and in between is considered on-time. Here in the matrix though there are blanks for months as well as zeros. I was wondering what the difference between the two is? Is there a reason that both zeros and blanks are in the matrix instead of just one or the other? Thank you as always!

 

StdDev.jpg

 

4 REPLIES 4
vanessafvg
Super User
Super User

the 0.00 will probably be where you have values but they are 0 and the blank is where there is no value, you can change the blank to 0 with a 

 

if(isblank(value),0, value)





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Pragati11
Super User
Super User

Hi @Anonymous ,

 

Based on the description you have given:

  • ZERO indicate that your calculated measure results to a zero value for that month and Vendor.
  • BLANK indicates there is no data for a months against a vendor.

If still have question, try posting your calculations and some smaple data.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

edhans
Super User
Super User

Your source data has blanks. Not sure about the zeros. It either has zeros, or it has numbers that add up to zero.

 

Blanks and zeros are very different animals for DAX. My advice is 99.9% of the time, you do not want blanks in any of your values unless you are specifically looking for them and want to handle them in DAX. If you want to get rid of them, click on the column in Power Query, click on the Transformation tab, then Replace Values. Type null in the search for field and 0 in the replace with.

 

Read this for more info on how Blanks work and how to handle if you bring them into DAX.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
parry2k
Super User
Super User

@Anonymous these are two different things, I believe whatever measure you are using, somewhere it has the value in the cell, maybe zero and that is adding up to showing the zero whereas in other cases there are no rows, and get the blank value

 

read more here.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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!

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