Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I want to show values of lastest date for every client:
Example:
Client Date Amount
x | 2019-03-01 | 30 |
x | 2019-03-02 | 60 |
x | 2019-03-03 | 20 |
y | 2019-03-01 | 40 |
y | 2019-03-02 | 50 |
Result
x | 2019-03-03 | 20 |
y | 2019-03-02 | 50 |
Thanks
Solved! Go to Solution.
Hi,
These measures work
Last date = MAX(Data[Date])
Value on last date = CALCULATE(SUM (Data[Amount]),LASTNONBLANK(Data[Date],SUM(Data[Amount])))
Hope this helps.
Hi,
These measures work
Last date = MAX(Data[Date])
Value on last date = CALCULATE(SUM (Data[Amount]),LASTNONBLANK(Data[Date],SUM(Data[Amount])))
Hope this helps.
Thanks, It works for me too
If my reply helped, please mark it as Answer.
User | Count |
---|---|
100 | |
88 | |
79 | |
75 | |
71 |
User | Count |
---|---|
113 | |
104 | |
100 | |
73 | |
65 |