Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
73 | |
65 | |
46 |