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
Fabian_Power
Frequent Visitor

Tooltip for Decomposition Tree not correct

Hi there,


i have problem with the tooltip in the decomposition tree visual.I recreated the problem with some simple sample data. I want to analyze sales by the dimensions Coutnry & Customer. Margin is a custom metric i created in Power BI
Margin = sum(Tabelle1[Profit])/Sum(Tabelle1[Sales])

 

Fabian_Power_0-1653474150726.png

 

 

In a table it all works like a charm an the correct margin is caculated. If i put it in a decomposition tree, the margin is very strange (see screenshot)


Has anyone ever encountered the same problem? Am i doing something wrong ? Can it be solved by DAX?


I would appriciate any hints!


Thanks,

Fabian

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Fabian_Power 

 

Please remove Sales field from Tooltips. Keep only Profit and Margin fields in Tooltips. As Sales is used in Analyze, it will display in the tooltip automatically. The Margin is calculated correctly without the additional Sales field. 

vjingzhang_2-1653892110318.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
Fabian_Power
Frequent Visitor

It works! Thanks for the quick reply.

v-jingzhang
Community Support
Community Support

Hi @Fabian_Power 

 

Please remove Sales field from Tooltips. Keep only Profit and Margin fields in Tooltips. As Sales is used in Analyze, it will display in the tooltip automatically. The Margin is calculated correctly without the additional Sales field. 

vjingzhang_2-1653892110318.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

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.

Top Solution Authors
Top Kudoed Authors