The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good day, I was trying to make a dax to get the previous row value as sample table above. Please advice. Thank u
Hi @GG_7096 try this as new column. I hope this help
Proud to be a Super User!
Hi @GG_7096
Please try
Previous Delivery_Date =
MAXX (
FILTER (
CALCULATETABLE (
VALUES ( 'Table'[Delivery_Date] ),
ALLEXCEPT ( 'Table', 'Table'[Item] )
),
'Table'[Delivery_Date] < EARLIER ( 'Table'[Delivery_Date] )
),
'Table'[Delivery_Date]
)
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |