Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I am trying to summurize in a matrix visual for each of suppliers how many part are shared among different plants and how many parts are not.
I have this raw data:
and below summary I would like to get in a matrix visual:
Thank you for your support
Solved! Go to Solution.
Hi,
Here is one way to do this:
I modified the example data a bit.
Note that this would be easier if you have a dimension table for parts and plants instead of one table.
Dax:
Proud to be a Super User!
What's you issue? You just need to make 3 measure with distinctcount like this:
Measure1= distinctcount(table(plant served))
Measure2= distinctcount(table(part shared))
then you put the supplier column and the measure in a matrix or table
Hello Gabry,
If I do as you suggest, I will get the total count of Material by plant but I would like to have separetely the count of material that are shared to different plant.
Exampe material ABC from supplier 100 is common to plant A and B so resutl is 2, while DEF material from supplier 200 is commom to plants A B and C so the total is 3
Hi,
Here is one way to do this:
I modified the example data a bit.
Note that this would be easier if you have a dimension table for parts and plants instead of one table.
Dax:
Proud to be a Super User!
Thank you so much it works!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |