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.
Hi All,
I am trying to write a dax formula to get the highest sales value and the age group into multi row card in my dashboard. Really appreciate If anyone can anyone assist me on this please.
The test case shown as below.
Thank you!
Thilini
Solved! Go to Solution.
@Thilini Hard to say with that information, looks like a Lookup Min/Max issue:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434
For a more specific solution, please post sample source table data as text in a table. Thanks.
Hi @amitchandak ,
Thank you for your solution. It works fine.
But only address part of my question. I use it to get the sales value of the top 1 age group.
Really appreciate your help.
Kind Regards,
Thilini
@Thilini Hard to say with that information, looks like a Lookup Min/Max issue:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434
For a more specific solution, please post sample source table data as text in a table. Thanks.
Hi @Greg_Deckler,
I tried your solution. It works perfectly fine. I get both name of the top 1 age group as well as the top 1 sales value.
Thank you so much!
Kind Regards,
Thilini
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |