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 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.
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 |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
42 | |
39 | |
19 | |
19 |