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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
ZakariAK
Regular Visitor

Calculating Continuation percentages

Hi,

 

I have a table with student registries from different years, i already have the counts by the ID column, but I want to calculate the percentage of students from each studies in each academic years that continue their studies in the next year.

 

Thanks in advance,

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ZakariAK ,

I create a table as you mentioned.

vyilongmsft_0-1715319188080.png

Then I create a calculated column named Percentage.

Percentage = 
VAR _Total =
    COUNT ( Students[ID] )
VAR _Continue =
    CALCULATE (
        COUNT ( Students[ID] ),
        FILTER (
            ALL ( Students ),
            'Students'[Study Area] = EARLIER ( Students[Study Area] )
                && 'Students'[Academic Year] = EARLIER ( Students[Academic Year] )
        )
    )
RETURN
    DIVIDE ( _Continue, _Total, 0 )

vyilongmsft_1-1715319507967.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ZakariAK ,

I create a table as you mentioned.

vyilongmsft_0-1715319188080.png

Then I create a calculated column named Percentage.

Percentage = 
VAR _Total =
    COUNT ( Students[ID] )
VAR _Continue =
    CALCULATE (
        COUNT ( Students[ID] ),
        FILTER (
            ALL ( Students ),
            'Students'[Study Area] = EARLIER ( Students[Study Area] )
                && 'Students'[Academic Year] = EARLIER ( Students[Academic Year] )
        )
    )
RETURN
    DIVIDE ( _Continue, _Total, 0 )

vyilongmsft_1-1715319507967.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bhanu_gautam
Super User
Super User

@ZakariAK ,You can create a measure for continuing students

 

 


Total Students = COUNT('YourTable'[Student ID])



Continuing Students =
CALCULATE(
COUNT('YourTable'[Student ID]),
FILTER(
ALL('YourTable'),
'YourTable'[Academic Year] = EARLIER('YourTable'[Academic Year]) + 1
&& 'YourTable'[Study] = EARLIER('YourTable'[Study])
)
)

Create a new measure to calculate the percentage of students who continue their studies:

Percentage Continuing = DIVIDE([Continuing Students], [Total Students]) * 100


This will display the academic year, study, total number of students, number of students continuing their studies in the next year, and the percentage of students continuing for each combination of academic year and study 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.