cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

xviz hierarchical slicer doesnt work with measures

hi

I am struggling with displaying the correct values of a measure that calculates gross margin in a hierarchical slicer. I am using Xviz hierarchical slicer to display the data. At the lowest levels of the hierarchy, the gross margin displays correctly. As you go up to higher levels in the hierarchy, it does not display gross margin. It displays the sum of the gross margins from the level below it. I do not understand why you cannot calculate gross margin at different levels of the hierarchy. The hierarchy that I have is product family, product group, part number. Below is an example of what I get:

1.PNG

If you notice, levels two and three of the hierarchy are just a sumof the values of the gross margin at the levels below them, they are not a calculation of gross margin at the appropriate level of the hierarchy. I have tried to use isinscope in the formula for the gross margin measure, but that does not help. any ideas How I can get this Xviz visual to work? Or how I can do it using a different method?

 

thanks!

1 REPLY 1
Super User III
Super User III

@CL7777 since it is a custom visual, I would recommend reaching out to the developers.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors