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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Show value in dim table not to have records in fact table

ngocpt00_2-1664972345604.png

 

 

Hi everyone,

I have a question regarding value in dim table not to have records in fact table.

In table Category, I have cate C which doesnt have records in table Cost. My question is how to show cate C (with spend = 0) to "visual"

Sorry for my broken English. Hope to hear from you guys soon.

Thank you

 

 

1 ACCEPTED SOLUTION

@Anonymous ,

I believe to show a 0 you will have to create a Measure.  Easiest way is:

Cost_Sum = SUM(Cost[Cost]) + 0

Then use this measure in your Visual.

Regards,

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thank you so much

Anonymous
Not applicable

Hi @rsbin 

Thank you for your response

The output I expected:

catespend
A4
B2
C0

Incase C not having any records, I want it to be as zero (0). Could you please advise me on it?

Thank you so much

@Anonymous ,

I believe to show a 0 you will have to create a Measure.  Easiest way is:

Cost_Sum = SUM(Cost[Cost]) + 0

Then use this measure in your Visual.

Regards,

rsbin
Super User
Super User

@Anonymous ,

Use Category from your DIM table in your visual.

Then in the column dropdown, select "show items with no data".

rsbin_1-1664976170115.png

Trust this works for you.

Regards,

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.