Forum Discussion

vaibhav_osc's avatar
vaibhav_osc
Advocate I
9 years ago
Solved

Dynamic Top N and Others

I have a problem with implementing a donut showing top N and Others groups for a measure. My underlying dimension data is of below type: Product Group 1 A 2 A 3 A 4 B 5 B ...
  • SqlJason's avatar
    9 years ago

    The key to it woyld be to use a calculated table with an extra member for Others. I recently wrote a similar blog 

    http://sqljason.com/2017/03/dynamic-grouping-in-power-bi-using-dax.html

     

    In this case, the measure in my blog will have to be replaced by the TopN part. Let me know if you have difficulties applying this and if yes, I can explain in more detail (especially if you can give sample data and show the results also, so that I can put it together in apower bi file)