Join 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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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! 😉