Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Community,
My model contains 4 tables as on the screenshot below:
Each product can be assigned to multiple categories and also some products might not be assined to any category.
In the example below PRODUCT J has sales of 150 and not assigned to any Category. When I build a visual [Category Name - Sales], I can see sales by each category, where PRODUCT J sales are missing and only included in the total line.
Question: how to make visible BLANK category line with sales for unmapped product?
Thank you!
Hi @p0lskiy on relationship choose Edit Relationship and Single.
Create measure with zero (not best practice but works on small dataset), like
Did I answer your question? Kudos appreciated / accept solution!
Proud to be a Super User!
If you change relationship to 'single' as you mentioned you will not be able to see right data as filter context will not be flowing down from category table to sales table. So in this case you will see sales for all products repeated in each category which is wrong.
Hi @p0lskiy you realy want BOTH type of relationship? How you going to interpret results? Are you ok with it? If yes, please share example with expected output as my example is not close to yours.
Proud to be a Super User!
Hello @some_bih ,
It would be great to share the pbix file but I can't find the option here.
I do not see anything strange using both directions in relationships. Below is the representation which is pretty logical:
Desired result is to have blank line with reported sales for the products which do not belong to any of the categories. In this case it is product J with 150 sales but it does not belog to any category (missing in table 'ProductToCategory'):
Thanks
Hi @p0lskiy if you have 365 account share link or via gmail.
Without model, I already show you my approach.
Proud to be a Super User!
Hi @p0lskiy did you try to remove PRODUCT_NAME from your second table?
Or try feature, show items no data on link
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data
Proud to be a Super User!
Sorry but it did not help:
1. PRODUCT table is required with all other dimensions in the table (PRODUCT NAME is only one as an example).
2. If you try 'show items with no data' it all products but still without sales.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 9 | |
| 7 | |
| 6 |