Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
41 | |
27 | |
23 | |
18 | |
15 |
User | Count |
---|---|
54 | |
35 | |
19 | |
18 | |
15 |