Forum Discussion
anthony_carreon
6 years agoFrequent Visitor
How to get the Total ?
Hello guys.. Can you Help me ?
im getting wrong total below.. (IN RED 1)
The computation of Red 1 is Headcount * %
HeadCount = SUM('BI Report_Manual Input'[# of HeadCount]) +0
Total Sum of Manual Encode = CALCULATE(SUM('BI Report_Percentage'[#]),ALLSELECTED(DimDate))
Red 1 = [HeadCount] * [Encoded Value] / [Total Sum of Manual Encode]
https://drive.google.com/open?id=12s08ltHIu8eMfkGqukyBqPboyzqC1XDO copy of pbix File
https://drive.google.com/open?id=12s08ltHIu8eMfkGqukyBqPboyzqC1XDO copy of pbix File
2 Replies
- amitchandakSuper User
I tried like this
Red 1 = AVERAGEX(SUMMARIZE('BI Report_Manual Input','BI Report_Manual Input'[Month],"_mul",[HeadCount] * [Encoded Value] ,"_by" ,[Total Sum of Manual Encode] ),divide([_mul],[_by]))anthony_carreon , what is the expected output
- anthony_carreonFrequent Visitor
Hello Sir.. Thank you for giving you spare time..
sorry for the wrong data (now corrected)
well the expected output should be the total of that red 1 in per month
Sorry that is 339 not 331.39
https://drive.google.com/open?id=12s08ltHIu8eMfkGqukyBqPboyzqC1XDO