Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, is it possible to create a calculated column with the date of the next occurrence of the value according to the picture below?
Thank you
Solved! Go to Solution.
Please try this column expression
Next Date =
VAR vThisDate = Table[Date]
VAR vNextDate =
CALCULATE (
MIN ( Table[Date] ),
ALLEXCEPT (
Table,
Table[Value]
),
Table[Date] > vThisDate
)
RETURN
vNextDate
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hellou @mahoneypat @, can you please help me again? I need almost the same. but I need to create a measure instead of calculated column. I need to find out the nearest date of occurence
I create a virtual table CD_MSISDN = value):
I don´t know how to create Next contact column.
Thank you
Please try this column expression
Next Date =
VAR vThisDate = Table[Date]
VAR vNextDate =
CALCULATE (
MIN ( Table[Date] ),
ALLEXCEPT (
Table,
Table[Value]
),
Table[Date] > vThisDate
)
RETURN
vNextDate
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |