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

View all the Fabric Data Days sessions on demand. View schedule

Reply
visheshjain
Impactful Individual
Impactful Individual

Non-relationship values with +0

Hello everyone,

 

Does adding a +0 to a measure, break a relationship between 2 tables somehow?

 

So I have measure for complaints, and I have added +0 to it, in case there are no complaints, so that the measure does not give me a blank.

In doing so, I am getting unwanted rows in my matrix.
In both cases i.e w/ +0 and w/o +0 I have turned on the 'show items with no data' in order to level the playing field.

 

For e.g.

Department 'Bodyshop' has only 1 highlighted flow of relationship, which is correct. If I do not add a +0 in my measure the matrix is correct.

Screenshot (427).png


Now if I added a +0 to the measure, I get incorrect and unwated rows in the matrix. 

Screenshot (428).png

 

This is the flow of relationships between the Dim and Fact tables.

Screenshot (429).png

 

Is it a bug or something cause it has never happened before.
Would love to hear from the community!

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



3 REPLIES 3
CNENFRNL
Community Champion
Community Champion

Not a bug at all. It's concerned about a built-in mechanism called "empty-rows removal".

AutoExist and Normalization - SQLBI

 

One thing to remember, all things are considered filters in DAX. By default, you can't see those "unreasonable" rows only because the measure result are empty; those rows do exist! When +0 forced empty rows to 0; those "unreasonable" rows show up.

 

Solution to your issue is straightforward,

CNENFRNL_0-1677950321591.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Hi @CNENFRNL,

 

So I tried this solution and it works!

 

Just one thing, yes, the extra rows are not there anymore but, if the numerator and the denominator are both blank, then its still giving me a blank, even after adding the 0.

 

I tried putting in 0 as the default value, in the DIVIDE() funtion, but it didn't work.

 

Is there some way to fix this?

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



visheshjain
Impactful Individual
Impactful Individual

Attaching sample file.

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



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
Top Kudoed Authors