Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Community,
I have to calculate percentage of principal outstanding at state and branch level but my denominator will change for State and Branch.
My dax is not behaving correctly for State as I drill up. it is keeping denominator of branchname.
For example:
| Loan No | State | BranchName | POS |
| 1 | Rajasthan | Jaipur | 2 |
| 2 | Maharashtra | Nasik | 5 |
| 3 | MP | Indore | 1 |
| 4 | Rajasthan | Jaipur | 7 |
| 5 | Maharashtra | Nasik | 3 |
| 6 | Rajasthan | Jaipur | 1 |
| 7 | Rajasthan | jaiselmer | 3 |
| 8 | Maharashtra | nagpur | 1 |
| 9 | MP | Indore | 2 |
| 10 | MP | bhopal | 2 |
My DAX is:
I have been stuck at this problem for a very long time and it is highly important for me to find a solution. Any help would be appreciated.
Thanks in advance!
yes.
Measure is throwing a different result altogether.
State and Branch are reference columns and you cant see them in Power Query.
I dont know how this can be written in Power query.
Is there a way you can help in write a calculated column or calculated measure that would help me achieve my objective?
the file is not opening
getting this error:
Feedback Type:
Frown (Error)
Error Message:
Object reference not set to an instance of an object.
It does open on my side without a problem. I just click the file, it gets downloaded and it opens in PBI Desktop without a glitch.
Here's what's in the file:
Is this what you wanted?
I attach the file again but the first link is working correctly as well.
Best
D
I used your solution but it showing 100% for all the scenarios.
When i apply any filter, the value should change, but this is not happening.
That is where i am stuck. i dont know how to proceed with it. i want my calculations to change dynamically with applied filter.
For this solution to work, branch and state should be in different tables. But I have them in the same table.
Okay, thanks for the help
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 8 | |
| 8 |