Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Very good, I am trying to create a column PREVIOUS DATES which I must take out of a swing DATES, the dates have different difference of days since they are updated every 2.3 or up to 6 days apart so a -1 does not help me.
If you see the image of my felling the dates of Previous Date and Date are the same.
I'd like to know if there's a way to leave the dates like this:
Any DAX commands that can help me?
Solved! Go to Solution.
Hi @Anonymous ,
You want measure or column?
I'll provide you both formula.
Measure = CALCULATE(MAX('Table'[date]),FILTER(ALLSELECTED('Table'),'Table'[date]<SELECTEDVALUE('Table'[date])))
Column = CALCULATE(MAX('Table'[date]),FILTER('Table','Table'[date]<EARLIER('Table'[date])))
Best Regards,
Jay
Hi @Anonymous ,
You want measure or column?
I'll provide you both formula.
Measure = CALCULATE(MAX('Table'[date]),FILTER(ALLSELECTED('Table'),'Table'[date]<SELECTEDVALUE('Table'[date])))
Column = CALCULATE(MAX('Table'[date]),FILTER('Table','Table'[date]<EARLIER('Table'[date])))
Best Regards,
Jay
Columnans works perfect. Thanks a lot.
Hi @Anonymous ,
Try following steps:
2. You will have data something like this:
3. Then create the following measure and you will get expected result.
Grax, but I dealt with this and the query editor didn't recognize me from the table I created.
Thank you from all the maeras.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |