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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
anthony_carreon
Frequent 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


incorrect 1.png

2 REPLIES 2
amitchandak
Super User
Super 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
incorrect 3.png
Sorry that is 339 not 331.39

https://drive.google.com/open?id=12s08ltHIu8eMfkGqukyBqPboyzqC1XDO

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors