Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ashmitp869
Creator II
Creator II

Sum divide by sum Total

Hi there ,

Please kindly suggest with the set analysis expression :

Expression :

%Death by /Death in whole 

Dimension : =[$(vDisplayedBy)]

Expression :

Sum({$<Mode_Desc={'Death'}>}Measure)/Sum({$<[Mode_Desc]={'Death'},[$(vDisplayedBy)]=>} Measure)

Sum(Measure)/Sum(Total <[$(vDisplayedBy)]>Measure) , I need to put the condition Mode_Desc={'Death'}

 

But my expression not working

Variable details:

set vDisplayedBy='Facility';

2 Replies
abhijith28
Creator II
Creator II

Can you attach the sample app.

MayilVahanan

Hi @ashmitp869 

Try like below

Sum({<Mode_Desc={'Death'}>}Measure)/Sum(Total <[$(vDisplayedBy)]> {<Mode_Desc={'Death'}>}Measure) 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.