cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
John0708 Frequent Visitor
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
Super User
Super User

Re: Calculate future amounts based on enddate

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. 

John0708 Frequent Visitor
Frequent Visitor

Re: Calculate future amounts based on enddate

Thanks. I will try this.

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,466)