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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX total help

Hello experts,

In grand total, Am getting 0 or 1 based on the total offshore and onshore houres. But I need to sum up values from each row. Please help.

 

FTE = DIVIDE([Hours Onshore],[Hours Offshore])

MonthOnshoreOffshoreSUMAVG
Jan1231231.01.0
Feb3211981.61.6
Mar4451243.63.6
Apr5671224.64.6
Total14565672.52.7

Need to show 10.9 instead of 2.5 Also I need to show Average also.
Please help

 
4 REPLIES 4
Anonymous
Not applicable

SUMX(EV,DIVIDE([Hours Onshore],[Hours Offshore]))
This is also wrong
 
mlsx4
Memorable Member
Memorable Member

Hi @Anonymous 

 

Can you explain a bit more what you want to achieve? Which are the conditions?

Anonymous
Not applicable

Hi @mlsx4 ,
In grand total, Am getting 0 or 1 based on the total offshore and onshore houres. But I need to sum up values from each row. Please help.

 

FTE = DIVIDE([Hours Onshore],[Hours Offshore])



 

Hi @Anonymous 

 

How are you doing the table? Formulas are working right for me:

SUM_Col = SUMX(MyTable,DIVIDE(MyTable[Onshore],MyTable[Offshore],0))
AVG_Col = AVERAGEX(MyTable,DIVIDE(MyTable[Onshore],MyTable[Offshore],0))

mlsx4_0-1697468055300.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors