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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
SonaSinghA
Helper III
Helper III

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
SonaSinghA
Helper III
Helper III

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

Hi @SonaSinghA 

 

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

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 @SonaSinghA 

 

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors