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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Shell64
Regular Visitor

Percentage Based on Month Total

Have data that uses table for Fin Yr and Fin Month joined to referrals table and need a pecentage breakdown per month

I have created a measure for referral count based on countrows  but can't get a measure to give me a fy/month breatdown.

Tried the below but doesnt work.

CALCULATE(
    COUNTROWS(Referrals),
    ALLEXCEPT(FinYr, FinYr[FinancialYear], FinYr[FinancialMonth])
)
2024-25AprilReferralSource11
2024-25AprilGP Referral1
2024-25AprilInternal4
2024-25AprilOther Provider1
2024-25AprilPolice1
2024-25AprilPrison1
2024-25AprilProbation Service3
  ReferralSource10
2024-25MayInternal5
2024-25MayOther Provider1
2024-25MayProbation Service4
  ReferralSource9
2024-25JuneInternal5
2024-25JuneOther Provider1
2024-25JunePrison1
2024-25JuneProbation Service2
1 ACCEPTED SOLUTION
KNP
Super User
Super User

Something like this should work.

(Use that calculation to work out percentage.)

Measure = 
    CALCULATE(
        SUM(Referrals[value]),
        ALL(Referrals[referrer])
    )

I've made some assumptions about column names and the model but this should help.

See attached PBIX.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

3 REPLIES 3
Shell64
Regular Visitor

Thank you so much

KNP
Super User
Super User

Just realised when I pasted your data in that it had the totals in it.

Updated PBIX attached.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
KNP
Super User
Super User

Something like this should work.

(Use that calculation to work out percentage.)

Measure = 
    CALCULATE(
        SUM(Referrals[value]),
        ALL(Referrals[referrer])
    )

I've made some assumptions about column names and the model but this should help.

See attached PBIX.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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