Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
I have a table which represents scheduled tasks. What I want to do is create a table to show upcoming tasks.
Unittype express the repetition of task. 4 is monthly, 2 is daily etc.
Period means that repetition count for given unittype.
For 2nd row, I know the schedule of task. Run it every one {period} day {unittype} at 10.00 AM {hour and minute of startdate} starting from 3/23/2021 10.00 AM {startdate}
And I should be able to limit the maximum date of my table due to performance issues. In this example, lets say maximum date is 3/28/2021. There will not be more row after that date.
| ID | Upcoming Schedule |
| 129297 | 3/24/2021 10.00 AM |
| 129297 | 3/25/2021 10.00 AM |
| 129297 | 3/26/2021 10.00 AM |
| 129297 | 3/27/2021 10.00 AM |
| 129297 | 3/28/2021 10.00 AM |
How can I create this table with queries? Thanks for your answers.
Solved! Go to Solution.
given the narrowness of your description, a more precise answer is difficult to give. But, if you are able to adapt the code, it might be enough for your purposes. Otherwise Load some example tables so they can be copied and explain well what's behind "etc"
given the narrowness of your description, a more precise answer is difficult to give. But, if you are able to adapt the code, it might be enough for your purposes. Otherwise Load some example tables so they can be copied and explain well what's behind "etc"
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |