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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Companyuser101
Helper II
Helper II

Error in calculation

Hello, 

 

I have this measure which calcualtes a bonus which depens on the revenue and a percentage: 

Bonus  = SUMX('Zuordnung - RSM/VP', [Bonus] * [Faktor]) 

 

We have three hierachies. 

Company

------

Employer

-------

Costumer

 

so I calculate the values for the costumer. Each employe has different costumers. I then sum the results for the bonus for each employe. And then each of these calculations is summarized for the company. Thats why I use the SUMX instead of the usual sum. 

 

But for the company hierachy in power BI it shows this:

Companyuser101_0-1704275218529.png

 

All other hierachies work. So employer and costumer hierachy. There I can see the numbers. 

 

How can I change it, so it will work?

 

 
2 REPLIES 2
Anonymous
Not applicable

Hi @Companyuser101 ,

 

The problem may have to do with the way the data model or hierarchy you are designing interacts with each other.
1. Check the relationships between tables:
Ensure that the correct relationships have been established between the relevant tables in the data model and verify that the relationships are properly defined.

2. Check visual interactions:
In Power BI, check the interaction between the visual elements in the report. Ensure that the visual elements of the company hierarchy are not affected by filters or slicers that may affect the display.

3. Hierarchy Navigation Functions:
Use USERELATIONSHIP or RELATED to properly navigate the hierarchy. Ensure that the correct functions are used to traverse the hierarchy and calculate bonuses at each hierarchy level.

 

If you still have problems, please provide more screenshots or test data, so that I can answer you as soon as possible!

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Ritaf1983
Super User
Super User

Hi @Companyuser101 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.