Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a dataset with Payments for a specific yearly subscription:
ID, Customer, StartDate, EndDate, PaymentDate
When you renew your subscription, a new record is created in that Payments table, with the StartDate = EndDate previous + 1 and EndDate = StartDate + 12 months.
Example:
ID 1: Customer X: 15/02/2023 - 14/02/2024, Paid: 15/02/2023
ID 2: Customer X: 15/02/2024 - 14/02/2025, Paid: 09/02/2024
I want to create a measure in this dataset that indicates that there is a follow-up subscription.
So for ID 1:
ID 1: Customer X: 15/02/2023 - 14/02/2024, Paid: 15/02/2023 => Yes, because there is a record ID 2 for the same customer and with StartDate equals to the EndDate of record with ID 1 + 1 day.
ID 2: Customer X: 15/02/2024 - 14/02/2025, Paid: 09/02/2024 => No, because there is no record for the same customer and with StartDate equals to the EndDate of record with ID 1 + 1 day.
But I really haven't a single idea on how to start on this ...
Solved! Go to Solution.
Hi
A result with a new column in the table
Hi
A result with a new column in the table
Wauw thanks! This is absolutely the solution 🙂
Also the first time I work with inline variables in DAX so a good start for me!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |