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
John0708
Frequent Visitor

Calculate future amounts based on enddate

jobtitels.png

I want to show the amount of FTE per jobtitel in our organisation on the first of january every year in the future. The amount of FTE per jobtitel will decline because of enddates. If the jobtitel has no enddate then the amount of FTE will stay the same. Does anybody know how to caculate this in DAX?

 

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @John0708 

Here is the measure from my sample file.

Count = 
VAR TheDate = FIRSTDATE ( Dates[Date] )
RETURN
    CALCULATE (
        SUM ( MyTable[Amount] ),
        MyTable[End Date] >= TheDate || MyTable[End Date] = BLANK ()
    )

FTECount.jpg

I have a column in my sample file date table which is StartOfYear that I use in the visual. 

Thanks. I will try this.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.