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

Cumulative - % Monthly Rate

Hello all,

 

I'm struggling to reach the cumulative fluctuation rate.

Every month end, we extract a headcount total.

During that month there are employee exits. The rate between Exits / Total Headcount is the fluctuation rate for that month.

I need to calculate the result for each month and add to the previous one to reach the Cumulative Fluctuation.

 

In the attached excel is the example and in the pbix, the databases.

https://1drv.ms/u/s!AqxrG8wgr5EolClOUAAwrlrWmfya?e=BQ424a

 

Monthy Headcount db:

MONTHEMPLOYEE ID
jan-221
jan-222
jan-223
jan-224
jan-225
jan-226
jan-227
jan-228
jan-229
jan-2210
fev-221
fev-222
fev-223
fev-224
fev-225
fev-226
fev-227
fev-228
fev-229
fev-2210
mar-221
mar-222
mar-223
mar-224
mar-225
mar-226
mar-227
mar-229
mar-2210

Exits db:

Exit DateEmp. ID
15/mar8
02/abr4
25/abr5
jul-2210
dez-221

 

Calculation

uie07923_2-1666110132739.png

 

 

Thanks in advance!

1 ACCEPTED SOLUTION

Maybe try this:

fluctuation rate Cumm = 
    SUMX(
        FILTER(
            ALL( dCalendar[YearMonth] ),
            dCalendar[YearMonth] <= MAX( 'dCalendar'[YearMonth] )
        ),
        [fluctuation]
    )

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@uie07923 , Assuming you have common date table with month year and measure fluctuation rate

 

Try a new measure

 

fluctuation rate Cumm= sumx(Values(Date[Month Year]), [fluctuation rate])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Are you considering the creation of an additional table with only the results of the fluctuation rate?

I tried the measure, but it didn't work:

 

uie07923_0-1666113795222.png

 

Maybe try this:

fluctuation rate Cumm = 
    SUMX(
        FILTER(
            ALL( dCalendar[YearMonth] ),
            dCalendar[YearMonth] <= MAX( 'dCalendar'[YearMonth] )
        ),
        [fluctuation]
    )
aj1973
Community Champion
Community Champion

Hi @uie07923 

Is this what you want to see

aj1973_1-1666116453156.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

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.