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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |