Forum Discussion
Anonymous
7 years agoNot applicable
Total Row Count in Matrix Visual with Visual level filter
Dear Community, I have a scenario where i have department with multiple codes. Each department has 3 sub departments with each sub departments having codes on different months. I am using matrix vis...
- 7 years ago
Anonymous hey add following two measures and then use Code Count in your matrix
Total Count = COUNT( Child[Code] ) Code Count = IF ( ISINSCOPE( Child[Depart]), [Total Count], CALCULATE( [Total Count], ALL(Child[Depart]) ) ) * DIVIDE( [Total Count],[Total Count])
tex628
7 years agoCommunity Champion
Can you do a
IF(
Selectedvalue('Departments'[Department]) = BLANK()
,
Calculate([Total count] , all('Departments')
,
[Total count])Department being the column dimension that your using.
Anonymous
7 years agoNot applicable
Hi tex628 ,
Thanks for your reply. PBI is not allowing to use a calcualte column inside a IF condition. Please find the image for reference. Glad you could try for an solution. Kindly do let me know if there are any workaround for the same.
Thanks &Regards,Praveen