Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello, I have an issue with my report... essentially I am calculating a score with double weights and am having issues applying date filters and the values filtering correctly. In the file below I have a category breakdown that should always be representative of the NPS new column. Meaning that if you select a date, or add a date to the visual or add multiple states at the same time they dynamically update. Can anyone help me with this?
Link: https://drive.google.com/file/d/1UlMr8qy5dyTFSmuvEhDck9MHrM84Qkvb/view?usp=sharing
Solved! Go to Solution.
Hi @nmck86 ,
If I can interpert your question correctly you want to make the multiplication of the Weight by the Base weitgth per row, sum all those values and then divede by the total of that multiplication correct?
Try the following measure:
Category Breakdown =
DIVIDE (
SUMX (
Scores;
CALCULATE ( SUM ( 'Scores'[WEIGHT] ) * SUM ( 'Scores'[Base Weight] ) )
);
SUMX (
ALLSELECTED ( Scores );
CALCULATE ( SUM ( 'Scores'[WEIGHT] ) * SUM ( 'Scores'[Base Weight] ) )
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @nmck86 ,
If I can interpert your question correctly you want to make the multiplication of the Weight by the Base weitgth per row, sum all those values and then divede by the total of that multiplication correct?
Try the following measure:
Category Breakdown =
DIVIDE (
SUMX (
Scores;
CALCULATE ( SUM ( 'Scores'[WEIGHT] ) * SUM ( 'Scores'[Base Weight] ) )
);
SUMX (
ALLSELECTED ( Scores );
CALCULATE ( SUM ( 'Scores'[WEIGHT] ) * SUM ( 'Scores'[Base Weight] ) )
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
124 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |