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
Shell64
Regular Visitor

DAX % Based on Sub totals

I have a power bi report where I am trying to to the following:

 

                                               FinYr  2324

Team                                       Left                       Still Here             %Left           %Still here

Team 1                                    135                        67                         66.8             33.16                       Team 1 Total 202

    sec1                                     100                        60                        49.5             29 

    sec2                                      30                            5                        14.8            2.4

    sec3                                        5                            2                         2.4              0.9

Team 2                                   140                           50                                                             Team 2 Total 190 

    sec1                                     100                        40

    sec2                                      35                            5

    sec3                                        5                            2

 

What I wanted to do is the % based on the team total per section. 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Shell64 ,

I created a sample pbix file(see the attachment), please check if that is what you want.

Subtotal = SUM('Table'[Left])+SUM('Table'[Still Here])
%Left = DIVIDE(SUM('Table'[Left]),[Subtotal])
%Still here = DIVIDE(SUM('Table'[Still Here]),[Subtotal])

vyiruanmsft_0-1705632501050.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Shell64 ,

I created a sample pbix file(see the attachment), please check if that is what you want.

Subtotal = SUM('Table'[Left])+SUM('Table'[Still Here])
%Left = DIVIDE(SUM('Table'[Left]),[Subtotal])
%Still here = DIVIDE(SUM('Table'[Still Here]),[Subtotal])

vyiruanmsft_0-1705632501050.png

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.