Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Create Repetitive Table with Given Rules

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.

 

samaritan_0-1616505121575.png

 

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.

 

IDUpcoming Schedule
1292973/24/2021 10.00 AM
1292973/25/2021 10.00 AM
1292973/26/2021 10.00 AM
1292973/27/2021 10.00 AM
1292973/28/2021 10.00 AM

 

How can I create this table with queries? Thanks for your answers.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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"

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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"

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.