Forum Discussion
matrix table
Hi, I'd like to build from the Sales table a matrix table that shows if a customer bought from more then one category.
Can I do it in visuals, or build a new table, and how.
Thanks, Giora
Hi gtamir,
I have mentioned above, you didn't use Category field from new table. You could refer to my design on your sample
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
7 Replies
- amitchandakSuper User
- gtamirPost Patron
Thanks amitchandak but I want to designate True or Fauls if exists on the first table. As the image shows.
- daxCommunity Support
Hi gtamir,
Because some records not exist in table, if you want to show it in Matrix, you need to create a table and use this in Matrix. You need to create table like below
Table = VALUES(Sales[Product Category])
Then create relationship like below
Create a measure like below
Measure = IF(MIN(Sales[ID]),"true", "false")
Then you will get the result like below
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- daxCommunity Support
Hi gtamir,
Did you try my suggestions? Because the blank cell in Matrix don't exist in your table, you can't calculate based on these cells. You need to create a related table to link to original table, then when you use it in Matrix, you could calculate on it.
In your image, you didn't use Category field from new table. You could try to follow my suggestions to use it, then it should work.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.