Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Let's say I've the following table named as "Table1".
Want to show the name of Salesperson(s) which corresponds to the Maximum of "Total Sales".
If there exists a tie between "n" Salespersons, then output should be <Salesperson 1>, <Salesperson 2> . . . , <Salesperosn "n">.
Example -
Suppose in the above table,
Michelle has maximum "Total Sales" then the DAX measure should return "Michelle".
But If John, Daniel, Rihanna have the same maximum "Total Sales" then the DAX measure should return "John, Daniel, Rihanna".
Solved! Go to Solution.
Hi @ThisIsVS
you can try
Top SalesPerson(s) =
CONCATENATEX (
TOPN ( 1, Table1, Table1[Total Sales] ),
Table1[Salesperson],
", "
)
Hi @ThisIsVS
you can try
Top SalesPerson(s) =
CONCATENATEX (
TOPN ( 1, Table1, Table1[Total Sales] ),
Table1[Salesperson],
", "
)
@ThisIsVS
I was expecting that.
Most probably, the presented data represents a table visual not a data table? It is really essential that you provide accurate information.
Do sales amount and salesperson belong to the same source data?
Is the Total Amount an aggregated amount or values in a source table column?
@tamerj1 Changed "Total Sales" summarization to "Sum", It worked. Thankyou Sir. 🙂
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |