Forum Discussion
Anonymous
5 years agoNot applicable
Total Sum as per different matrix selection
Total should be display (200+270=470) but it is not coming correct. if i select value from all for matrix (300+270+122+200 then it is display correct sum(like 892). if i select three matrix value the...
- 5 years ago
Hi Anonymous ,
I did the following measure:
Total = IF ( ISFILTERED ( Table_1 ) || ISFILTERED ( Table_2 ) || ISFILTERED ( Table_3 ) || ISFILTERED ( Table_4 ); IF ( ISFILTERED ( Table_1[Week] ); SUM ( Table_1[Value] ); 0 ) + IF ( ISFILTERED ( Table_2[Week] ); SUM ( Table_2[Value] ); 0 ) + IF ( ISFILTERED ( Table_3[Week] ); SUM ( Table_3[Value] ); 0 ) + IF ( ISFILTERED ( Table_4[Week] ); SUM ( Table_4[Value] ); 0 ); SUM ( Table_1[Value] ) + SUM ( Table_2[Value] ) + SUM ( Table_3[Value] ) + SUM ( Table_4[Value] ) )asically I'm checking if there is any matrix that is filtered if yes I only pickup the filtered values if none is filter I sum all the values.
Check PBIX file attach:
MFelix
Super User
5 years agoHi Anonymous ,
Are the values on the matrix visualizations being picked up from diferrent table or is it all in the same table?
How do you have the sum setup?
How do the matrix visualizations interact between them and with the card?
Believe that your issue is related with the way you have the information and the visualizations setup.
If all the visualizations are coming from the same table but with different filters you may be getting context erros in the calculations so not return any values or incorrect.
Can you share a mockup file?