The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Community..!!
I need to create a table visual which consist of 1st occurrence of each product. Please refer the below sample data.
Product | category | price |
P1 | c1 | 10 |
p2 | c2 | 20 |
p3 | c3 | 30 |
P1 | c4 | 40 |
p2 | c5 | 50 |
p3 | c6 | 60 |
p4 | c7 | 70 |
How can I achieve this?
Solved! Go to Solution.
@ppatil , Try a measure like the one below with the above fields. Add an index column in the power query first
calculate(max(Table[Price]), filter(Table, Table[Index] = minx(filter(allselected(Table), Table[Product] = max(Table[Product])), Table[Index])))
@ppatil , Try a measure like the one below with the above fields. Add an index column in the power query first
calculate(max(Table[Price]), filter(Table, Table[Index] = minx(filter(allselected(Table), Table[Product] = max(Table[Product])), Table[Index])))
Hello @ppatil ,
Do we have date/time field in data?
How to identify which record is first?
Thanks.
Shishir
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
82 | |
63 | |
53 | |
51 |
User | Count |
---|---|
127 | |
118 | |
81 | |
65 | |
64 |