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.
Dear Forum members,
unfortunately i was unable to find a matching solution, so thought i would go ahead and post the challange i am confronted with and hoping to find support.
--->
I have a Table A with 36.000 rows, and it grows about 300 rows a month.
ID | Date | Category | Target Date |
1 | 01.02.2024 | HV | .. |
2 | 02.01.2024 | STD | .. |
3 | 02.01.2024 | HV | .. |
*dd.MM.yyyy
And Table B, which is a "calendar" table.
Date | Year | Quarter | Month | Week | Weekday | Indicator 1 | Indicator 2 |
01.01.2024 | 2024 | Q1 | 01-Jan | 1 | 1 | Yes | Yes |
02.01.2024 | 2024 | Q1 | 01-Jan | 1 | 2 | Yes | No |
03.01.2024 | 2024 | Q1 | 01-Jan | 1 | 3 | No | No |
*dd.MM.yyyy
Would like to accomplish to calculate a new value in column Target Date in Table A for each individual row.
Where the starting value is the value Column Date for respective row.
Next, If column Category = HV then Date+2 (days) else Date+1 (day)
now, using the calculated date as reference, I would like to find the next (or first date higher than the calculated) date in column Date of Table B where a column Indicator 1= "yes" and Indicator 2 = "no".
Appriciate any guidance!
Thank
Philippe
Solved! Go to Solution.
Hi @PhilippeJosse - Hope in your tables Date columns is date type
create a calculated column in first table, as below:
another calclated column:
Hope it helps
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @PhilippeJosse - Hope in your tables Date columns is date type
create a calculated column in first table, as below:
another calclated column:
Hope it helps
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
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 |
---|---|
67 | |
64 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |