The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I've been working on this problem for a week I'm fairly new to DAX so I figure that ther is problem a really simple solution that I am just not thinking of.
At my job we have often have to rework parts to make them usable because of this we have several different cateogries of rework. I want to calculate the proportion of rework types that we have each part as a stacked bar chart. I tried using using Divide([Count of Rework categories], [Count of part number]) which gives me the correct answe but once I start to slice the data it no longer gives me the values out of 100%. How can I set it up so that the data filters in correctly for the the problem I'm working on.
If that what I'm asking is confusing here is an example of some fake data that and the outputs that I am looking for.
Thank you all for your help
Solved! Go to Solution.
@Anonymous , Try new measures like
divide(count(Table[Reworkcategory]), calculate(count(Table[Reworkcategory]),allexcept(Table,Table[Part])))
or
divide(count(Table[Reworkcategory]), calculate(count(Table[Reworkcategory]),Filter(allselected(Table),Table[Part] =max(Table[Part]))))
@Anonymous , Try new measures like
divide(count(Table[Reworkcategory]), calculate(count(Table[Reworkcategory]),allexcept(Table,Table[Part])))
or
divide(count(Table[Reworkcategory]), calculate(count(Table[Reworkcategory]),Filter(allselected(Table),Table[Part] =max(Table[Part]))))
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |