March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi every one.
I have this list:
products---Prices
product1---1000
product2---2000
product1---900
product3---4000
product2---5000
product3---6000
and I wand to get the uniqe list off Last prices for each products with DAX Like this:
products---Prices
product1---900
product2---5000
product3---6000
Solved! Go to Solution.
Sorry Mohammad,
It was too late last night I didn't see your reply. Here is a sample file with the solution https://we.tl/t-rBJAfyJOu4
Last Price =
VAR MaxIndex = MAX ( Products[Index] )
RETURN
CALCULATE (
MAX ( Products[Prices] ),
Products[Index] = MaxIndex
)
How can I do that?
Sorry Mohammad,
It was too late last night I didn't see your reply. Here is a sample file with the solution https://we.tl/t-rBJAfyJOu4
Last Price =
VAR MaxIndex = MAX ( Products[Index] )
RETURN
CALCULATE (
MAX ( Products[Prices] ),
Products[Index] = MaxIndex
)
Thank you very much tamerj1.
open the query editor. From the add columns tab select add index column.
So what shoud I do next?
Hi tamerj1,
No, Suppose we have only these two columns.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |