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 September 15. Request your voucher.
I have a calculation that looks for the last date we have in the data and return the value for that date:
@Anonymous ,
Have selected Report Date in the slicer. Max should from the date selected in the slicer.
try like
Column =
VAR LASTIME = MAXX(Query1,Query1[ReportDate])
RETURN CALCULATE(VALUES(Query1[OpenInventory]), filter(all(Query1),Query1[ReportDate]=LASTIME) )
Thanks @amitchandak I tried the following but still receiving a blank once I change the slicer:
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |