Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
15 | |
11 | |
8 | |
8 |
User | Count |
---|---|
19 | |
15 | |
15 | |
14 | |
13 |