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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
RonSon2015
Frequent Visitor

Fill result with N/A when DIM has no value

Hello,

I've got a case where I have a fact table that is connect to a DIM table via a bridge table (many to many relationship).

However, the DIM tables has not only duplicate values but also less attributes than the fact table. Thus, the result by item differs from the grand total. What could be an elegant way to solve the issue? Combine the duplicates to have it as one result or is there any chance to fill the items with N/A where no value in DIM table is available?

 

2021-11-09_13h34_21.png

 



 

 

 

 

 

 

Thanks for any tipps and tricks!

 

Here is an small example:

 

2021-11-09_13h49_17.png2021-11-09_13h48_49.png2021-11-09_13h48_39.png2021-11-09_13h48_25.png

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @RonSon2015 ,

According to your description, if you want to fill result with N/A when DIM has no value, you can try like this:

vkalyjmsft_0-1636681381423.png

 

If you want to combine the duplicates to have it as one result, you can add a row to the Dim table, and filter the duplicate supplier.

vkalyjmsft_1-1636681381427.png

 

vkalyjmsft_2-1636681381430.png

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @RonSon2015 ,

According to your description, if you want to fill result with N/A when DIM has no value, you can try like this:

vkalyjmsft_0-1636681381423.png

 

If you want to combine the duplicates to have it as one result, you can add a row to the Dim table, and filter the duplicate supplier.

vkalyjmsft_1-1636681381427.png

 

vkalyjmsft_2-1636681381430.png

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@RonSon2015 , not very clear. You should supplier from supplier table and product from product table. if some supplier or product ar missing(because of data in fact) you can use +0 in measure or use show item with no data. 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hello @amitchandak 
thank you for the quick reply. You are right, the setup with one table with supplier and product is not optimal. However, it was just to indicate the problem of missing information in dimensional table whereas the information form dimensional table shall be displayed in a visual.

Can you give me a hint regarding the "+0 in measures". How would you do it?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.