Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
2024-25 | April | ReferralSource | 11 |
2024-25 | April | GP Referral | 1 |
2024-25 | April | Internal | 4 |
2024-25 | April | Other Provider | 1 |
2024-25 | April | Police | 1 |
2024-25 | April | Prison | 1 |
2024-25 | April | Probation Service | 3 |
ReferralSource | 10 | ||
2024-25 | May | Internal | 5 |
2024-25 | May | Other Provider | 1 |
2024-25 | May | Probation Service | 4 |
ReferralSource | 9 | ||
2024-25 | June | Internal | 5 |
2024-25 | June | Other Provider | 1 |
2024-25 | June | Prison | 1 |
2024-25 | June | Probation Service | 2 |
Solved! Go to Solution.
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 ;). |
Thank you so much
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 ;). |
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 ;). |
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |