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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Creating a turnover percentage

Hi,

 

I have created a table the following table using the summarise function - The FTE's are created using the sum function.

 

UNIT                                       Staff FTE                  Leaver FTE              Transfer FTE                  Total Leavers                   Turnover Rate

A                                                   500.7                             102                                     5                                             107

B                                                    120                                 20                                       2                                               22

 

I created a new measure to calculate the Total Leavers (i.e. Leaver FTE + Transfer FTE). when I try to create the turnover rate (i.e. Total Leavers/Staff FTE) I get non sensical results using the divide functon.

 

Can anyone help please?

 

Thanks

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may check measure below.

Measure =
DIVIDE (
    SUM ( Table1[Leaver FTE] ) + SUM ( Table1[Transfer FTE] ),
    SUM ( Table1[Staff FTE] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Totals = SUMMARIZE('Staff Summary','Staff Summary'[Year],'Staff Summary'[Level4:Structure],'Staff Summary'[Staff Type],"Staff FTE",sum('Staff Summary'[Staff FTE]),"Leaver FTE",Calculate(sum('Leavers Summary'[Leaver FTE]),ALLEXCEPT('Leavers Summary','Leavers Summary'[KEY])),"Transfer FTE",CALCULATE(sum('Transfer to Casuals'[Transfer FTE]),ALLEXCEPT('Transfer to Casuals','Transfer to Casuals'[KEY])))

Turnover Rate.PNG

Hi,

 

I'm afraid that's not working. I get the total rate applied to each category when I apply that formula.

 

To add a bit more to my original post. I have 3 summary tables(Leaver Summary, Staff Summary and Transfer Summary) which I have joined by a key.

Anonymous
Not applicable

 

 

Hi,

 

I've tried to build the summary table again, but this time calculate all measures with the SUMMARIZE fuction.

Totals2 = SUMMARIZE('Staff Summary','Staff Summary'[Year],
           'Staff Summary'[Level4:Structure],
                   'Staff Summary'[Staff Type],

                    "Staff FTE",

                       sum('Staff Summary'[Staff FTE]),
                    
                    "Leaver FTE",Calculate
                                           (
                                           sum('Leavers Summary'[Leaver FTE]),
                                           ALLEXCEPT('Leavers Summary','Leavers Summary'[KEY])
                                            ),
                    "Transfer FTE",CALCULATE
                        (
                                            sum('Transfer to Casuals'[Transfer FTE]),
                                            ALLEXCEPT('Transfer to Casuals','Transfer to Casuals'[KEY])
                            ),
                    "Total Leavers",CALCULATE
                        (
                                            sum('Transfer to Casuals'[Transfer FTE]),
                                            ALLEXCEPT('Transfer to Casuals','Transfer to Casuals'[KEY])
                            ) 
                             +
                              Calculate
                                           (
                                           sum('Leavers Summary'[Leaver FTE]),
                                           ALLEXCEPT('Leavers Summary','Leavers Summary'[KEY])
                                            ),
                    "Turnover",( 
                                DIVIDE(
                                    CALCULATE
                         (
                                                sum('Transfer to Casuals'[Transfer FTE]),
                                                ALLEXCEPT('Transfer to Casuals','Transfer to Casuals'[KEY])
                                ) 
                                     +
                                     Calculate
                                            (
                                            sum('Leavers Summary'[Leaver FTE]),
                                            ALLEXCEPT('Leavers Summary','Leavers Summary'[KEY])
                                                )
                    ,
                                    CALCULATE
                                    (
                                                sum('Staff Summary'[Staff FTE]),
                                                ALLEXCEPT('Staff Summary','Staff Summary'[KEY])
                                    ) 
                                    )

                                )
                                            

                 )
                    
                                            

                    

 

again the result for turnover rate is not what I'm expecting.

 

Turnover Rate2.PNG

 

anay help would be great.

 

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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