Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
My Table
GRNNO GRNDate Supplier Item Price
A1 2019/01/05 Sup1 Item1 100
A2 2019/01/10 Sup2 Item2 150
A3 2019/01/15 Sup1 Item1 120
A3 2019/01/15 Sup1 Item4 200
A4 2019/01/16 Sup3 Item4 130
A5 2019/01/20 Sup2 Item2 135
I need find last price with supplier and Item wise. How can I do it......?
Solved! Go to Solution.
Hi @Samank75
in my answer Last Price is a measure not a calculated column!
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Hi @Samank75
take a look at the following solution:
Last Price item wise =
CALCULATE(
MAX('Table'[Price]),
FILTER(
ALLEXCEPT('Table','Table'[Item]),
MAX('Table'[GRNDate]) = 'Table'[GRNDate]
)
)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Hi @Samank75
in my answer Last Price is a measure not a calculated column!
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Why not working to me......
@Samank75 , Try like
calculate(lastnonblankvalue(table[GRNDate],max(Table[Price])) , allexcept(Table, Table[Supplier],Table[Item]))
or
calculate(lastnonblankvalue(table[GRNDate],max(Table[Price])) , filter(allselected(Table), Table[Supplier] = max(Table[Supplier]) && Table[Item]= max(Table[Item])))
Sorry not working
I use this one.
Result should be
GRNNO GRNDate Supplier Item Price
A3 2019/01/15 Sup1 Item1 120
A3 2019/01/15 Sup1 Item4 200
A4 2019/01/16 Sup3 Item4 130
A5 2019/01/20 Sup2 Item2 135
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |