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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ovetteabejuela
Impactful Individual
Impactful Individual

Wanted to blanks(zero) sales entries

I've isolated two tables from my data model into a new PBIX file(see below) in here, this is what I exactly wanted because I wanted to know that the employee is present but without items sold.

 

I've got the same setup in my "live" file although there are other tables in my data model, these two tables are detached from any other tables, except that they are both connected to each other via the date_employee key (the same as the one below).

 

The only problem I'm getting is that I am missing the blank entries in my "live" file, the Table visual is on a clean page already without any slicers/filters.

 

I am now not sure what is going on, is it because I have other tables(although) detached may influence the outcome that I expected? Please help ... again. Thank you.

 

I can't seem to upload in OneDrive so here's my simulated PBIX file in Google Drive

 

missing blanks or sero sales.PNG

 

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@ovetteabejuela

Is this what you are trying to achieve?

Items Sold Measure = SUM(sold_items[items_sold]) + 0

ResultOr.png

View solution in original post

2 REPLIES 2
Sean
Community Champion
Community Champion

@ovetteabejuela

Is this what you are trying to achieve?

Items Sold Measure = SUM(sold_items[items_sold]) + 0

ResultOr.png

ovetteabejuela
Impactful Individual
Impactful Individual

Hahaha, Is that it? Tried complex solutions but this one actually worked, I can't explain why...

 

Turning blanks into zeroes is not the problem, the problem was the blanks appear on the simulation but it does not on the main file... and everything was exactly the same... and yet when I tried your suggestion - it actually worked!

 

I usually ask for help after trying for solutions on my own - I just never thought the "+ 0" is the answer

 

thanks @Sean

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.