Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Guys,
I am trying to find make a card show the supplier by lowest cost when filtering to a certain item.
I.e. when i filter to item A, I expect the card to show supplier one. Is this a topN dax function? I could not understand the other thread similiar to this. Please advise and appreciate any help provided. Cheers.
Item | state | Cost | Supplier |
A | NSW | 1 | one |
A | QLD | 1.5 | two |
A | TAS | 2 | three |
B | NSW | 3 | one |
B | VIC | 4 | two |
C | NSW | 5 | one |
C | QLD | 4 | two |
C | TAS | 6 | three |
Solved! Go to Solution.
@Anonymous
Try this MEASURE
Measure = CONCATENATEX ( TOPN ( 1, Table1, [Cost], ASC ), [Supplier], ", " )
@Anonymous
Try this MEASURE
Measure = CONCATENATEX ( TOPN ( 1, Table1, [Cost], ASC ), [Supplier], ", " )
Thank you kind sir, worked like a charm.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |