The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |