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
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
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.