Forum Discussion
bjurek
3 years agoHelper I
EARLIER function dax
Hello!
Can someone help me write this correctly? It's about entering a value from an earlier date. I'm trying to do it using "EARLIER" but it doesn't work for me.
- Anonymous3 years ago
Hi bjurek ,
Here are the steps you can follow:
1. Create calculated column.
Calculated Column1 = MAXX( FILTER(ALL('Table'), 'Table'[Shop]=EARLIER('Table'[Shop])&& 'Table'[Date]<EARLIER('Table'[Date])),[Date])2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
2 Replies
- AnonymousNot applicable
Hi bjurek ,
Here are the steps you can follow:
1. Create calculated column.
Calculated Column1 = MAXX( FILTER(ALL('Table'), 'Table'[Shop]=EARLIER('Table'[Shop])&& 'Table'[Date]<EARLIER('Table'[Date])),[Date])2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly