Forum Discussion
Fact Table Values Showing Blank When Including Dimension Field
- Anonymous2 years ago
Hi B_Rax ,
I understand what you're saying, and I know it's not an oversight on your part that's causing the table to show up blank with no data in it.
But what I mean is that when it's blank, they don't create a direct connection between them, and in many-to-many it creates a misconnection internally, making the final result incorrect.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the response. As far as I can tell the granularity is the same between Sales and Customer Assignments. Their relationship works fine as long as the relationship remains 1:* as it breaks when *:*. I created a test Salesperson table which was 1:* with Customer Assignments instead of *:* and that returns expected results. I'm not sure why the *:* relationships with mono-directional filtering do not work even when aggregated as Min/Max.
Regarding the DAX, I attempted to implement it but the default value causes filtered records to appear.
Hi B_Rax ,
Applying many-to-many relationships in Power BI is prone to errors. It's easy to create aggregation or some other unwanted error, so if you can provide me with more information about your problem or .pbix file, I think I can solve the problem more intuitively.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous2 years agoNot applicable
Hi B_Rax ,
I opened your .pbix file and I found that the problem is that in the table Sales when Number is equal to 7412, it has an empty CustomerAssignmentsID, which causes it to not be able to locate the Name when trying to add it in, making it end up as full.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- B_Rax2 years agoHelper I
It is intended to be blank as not all sales are attributed to salespeople. I would expect the Name to be blank, but not profit in this case.
Either way, I may just create a filler CustomerAssignmentsID for null values.