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
afaherty
Helper V
Helper V

Need 0 for blanks instead of blank (PBIX file included).

Hi All,

I've tried various solutions found both here and through Googling, and have had no luck.  

I've tried the good old +0 with no luck there.

Both questions are in the PBIX file:  

PBIX File Need 0's 

(Sorry I don't yet have the ability to attach directly here on this forum).

 

Here are my questions:

 

afaherty_0-1640030856478.png

 


Thank you!

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

It doesn't matter what you do in your measure. You can't make those show up without some additional work since those cells don't correspond to any rows in your table, auto-exists prevents anything from showing. Even if you define your measures as a constant 1, you get this:

AlexisOlson_0-1640034443526.png

 

As mentioned in the article I linked, the solution is to create dimension tables.

AlexisOlson_1-1640035361020.png

AlexisOlson_2-1640035406793.png

Please see attached.

 

View solution in original post

2 REPLIES 2
AlexisOlson
Super User
Super User

It doesn't matter what you do in your measure. You can't make those show up without some additional work since those cells don't correspond to any rows in your table, auto-exists prevents anything from showing. Even if you define your measures as a constant 1, you get this:

AlexisOlson_0-1640034443526.png

 

As mentioned in the article I linked, the solution is to create dimension tables.

AlexisOlson_1-1640035361020.png

AlexisOlson_2-1640035406793.png

Please see attached.

 

@AlexisOlson thank you!!

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.