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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Tob_P
Helper V
Helper V

Top Ranked in various metrics

I have a number of current ranking measures which detail top salesperson, top selling region etc which are working well within a clustered column visual.

 

What I would like to do with each metric is display some additional information. So in best selling region, I'd like to display the region name (this is as a tooltip), but probably through concantenation, also display the best selling salesperson in that region and the total sales for that person. I have all these currently as measures along the lines of this...

 

Top Ranked Region =
CALCULATE(SELECTEDVALUE(tblRep_List[Region]),
TOPN(1,ALL(tblRep_List[Region]), [Amount Measure],DESC))
 
...and have tried some concatenation to merge the measures togeher but obviously I'm then displaying the correct highest selling region ,
but not the correct salesperson within that region.
 
Can anyone advise as to the best way to approach this?
 
Thanks
2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

I hope the below can provide some ideas on how to create a solution for your semantic model.

 

RANK function (DAX) - DAX | Microsoft Learn

 

TOPN function (DAX) - DAX | Microsoft Learn

 

CONCATENATEX function (DAX) - DAX | Microsoft Learn

 

Jihwan_Kim_1-1701749571990.png

 

 

Jihwan_Kim_0-1701749558404.png

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Thank you for replying and I can see that I could probably achieve an element of what I need with your solution, so thank you for that.

 

Here is a link to stripped back sample file

 

https://drive.google.com/file/d/1rCl91ci3u80OuT62kUsQgOt6lCOuxyiL/view?usp=sharing

 

What I would like to see if possible to achieve is utilising some of the measures I have (adpating them of course), to have the tooltip style in the first chart, blending together the best selling salesperson & team by daily sales. Unfortunately I need to keep the existing format of the tooltip as there are a number of other metrics I need to display, that cannot be superceded by the tooltip suggestion you have offered.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.