Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I am very new to Power BI and DAX calculation.
I have 5 Categories( A, B, C, D, E) with score value. That score itself is calculated as a new measure with DAX calculation like below:
December | January | February | |
Total | 26.72 | 27.42 | 26.30 |
A | 44.65 | 41.87 | 40.26 |
B | 53.80 | 56.30 | 53.70 |
C | 20.33 | 22.24 | 24.74 |
D | 11.89 | 14.60 | 12.56 |
E | 2.94 | 2.08 | 0.26 |
Hi @Anonymous
Does your data structure look like data in my table?
Then do you add columns in the matrix visual as below?
Then expected result:
"the Total by summing up the 20% of each category value for respective months"
should be way1 or way2, or anything else?
way1:
December | January | February | |
A | 44.65*0.2 | 41.87*0.2 | 40.26*0.2 |
B | 53.8*0.2 | 56.3*0.2 | 53.7*0.2 |
C | 20.33*0.2 | 22.24*0.2 | 24.74*0.2 |
D | 11.89*0.2 | 14.6*0.2 | 12.56*0.2 |
E | 2.94*0.2 | 2.08*0.2 | 0.26*0.2 |
Or
way2:
December | January | February | |
A | 44.65 | 41.87 | 40.26 |
B | 53.8 | 56.3 | 53.7 |
C | 20.33 | 22.24 | 24.74 |
D | 11.89 | 14.6 | 12.56 |
E | 2.94 | 2.08 | 0.26 |
total | 137.09*0.2 | 131.51*0.2 | 133.61*0.2 |
Best Regards
Maggie
When trying to calculate like below not getting the Correct value for TOTAL_MTD.
TOTA_MTD = CALCULATE(SUM(NPS[MTD]), FILTER(NPS,NPS[Survey Program[Category]]= "A" || NPS[Survey Program[Category]]= "B" || NPS[Survey Program[Category]]= "C" || NPS[Survey Program[Category]]= "D" || NPS[Survey Program[Category]]= "E"))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |