Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Just check a rank that can be created on the date within the customer. That will give you the order and based on that you can calculate your next or previous date.
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
Hi -
Thanks for replying. I'm not getting it. The biggest thing I'm not understanding is how would you limit sales transactions to only those of a specified customer without filtering?
Secondarily and far less important, if I rank sales transactions based on date, the first one would be ranked 1, the second one would be 2, etc. Whether the second one happened within 90 days won't be reflected in a ranking...
I'm confused! 🙂
Redacted
Did this solution work for you?
@thatnerdguy I would approach this in a completely different way now than I did four years ago.
Good luck with the interview! 😉
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |