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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello guys,
I have a direct query which give's me 2 values for the last level of my hierarachy, the number of actives users and the total parc of users.
I want to calculate the percentage of the active users from the total parc.
The problem is that when i do these for the last level it's ok, I calculate the percentage in the query and everything is fine. But how about the upper levels of the hierarchy? I can't use average function beacuse it returns wrong values.
I have 4-5 upper levels and I want to calculate the percentage for each of them, not agregate the calculeated column from the bottom level.
In attached picture I have good values for the last level but the TDA should be 2 / 226 * 100 = 0.88% instead of 1.29%.
Thank you,
Edaurd
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 103 | |
| 67 | |
| 65 | |
| 56 |