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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
gottapu
Frequent Visitor

Need help with DAX calculation

I am new to Power BI and need help with DAX calculation. I have following fields (till Paid Amount) in my report and I am trying to calculate Employee FTE field. Value should be calculated based on Assignment FTE (2 distinct Assignments and so it be .25+.75=1 FTE for Employee 1 and .5 for Employee 2). Seems straight forward but I am unable to get it correct. Appreciate any help.

 

gottapu_0-1601072756958.png

Thanks,

-Raj

1 ACCEPTED SOLUTION
gottapu
Frequent Visitor

I was able to find similar question asked and able to get the calculation working. 

 

Below calc helped me.

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Sum-duplicate-data-only-once-per-date-measure...

View solution in original post

2 REPLIES 2
gottapu
Frequent Visitor

I was able to find similar question asked and able to get the calculation working. 

 

Below calc helped me.

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Sum-duplicate-data-only-once-per-date-measure...

I am able to calculate accurate values by creating 2 tables but I have few other columns that I need to do the same. Is there a way that I can just include all this in a new column or measure instead of creating 2 tables?

 

Here is what I did so far:

 

Creating AssignmentFTE Table

AssignmentFTETable=summarize(EmployeeTable,EmployeeNumber,AssignmentNumber,AssignmentFTE)

image.png

 

I then created another EmployeeFTE table:

EmployeeFTETable=summarize(AssignmentFTETable,EmployeeNumber,"EmployeeFTE",sum(AssignmentFTE)

image.png

 

EmployeeFTE is correctly calculated but is there a way I can do all this without creating tables i.e just placing all this logic in a new column? Appreciate any help.

 

Thanks,

-Raj

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors