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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Navaneetharaju_
Helper II
Helper II

Need future dates based column condition

Hi, 

I need date field as a result 

 

I have one start date, pipeline run schdules.

 

Start date = 01/12/2023

Repeat by - days

repeat every - 3  (3 days once)

Task name - Fetch_data_from_sql_aws

 

I want this task next run dates till today

 

TaskRun datesrepeat byrepeat every
Fetch_data_from_sql_aws01-12-23days3
Fetch_data_from_sql_aws04-12-23days3
Fetch_data_from_sql_aws07-12-23days3
Fetch_data_from_sql_aws10-12-23days3
Fetch_data_from_sql_aws13-12-23days3
Fetch_data_from_sql_aws16-12-23days3
Fetch_data_from_sql_aws19-12-23days3

      

Navaneetharaju__0-1702974131933.png

 

 

I want these run date as a result. like above i have multiple tasks run on daily basis, weekly once, monthly once, I have start date now i have to find the upcoming days when this gonna run.

 

Thank you.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Navaneetharaju_ ,

You can create a measure as below to get it:

Next run dates =
VAR _maxdate =
    CALCULATE ( MAX ( 'Table'[Run dates] ), ALLSELECTED ( 'Table' ) )
VAR _repeatday =
    CALCULATE ( MAX ( 'Table'[repeat every] ), ALLSELECTED ( 'Table' ) )
RETURN
    _maxdate + _repeatday

vyiruanmsft_0-1703148825800.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Navaneetharaju_ ,

You can create a measure as below to get it:

Next run dates =
VAR _maxdate =
    CALCULATE ( MAX ( 'Table'[Run dates] ), ALLSELECTED ( 'Table' ) )
VAR _repeatday =
    CALCULATE ( MAX ( 'Table'[repeat every] ), ALLSELECTED ( 'Table' ) )
RETURN
    _maxdate + _repeatday

vyiruanmsft_0-1703148825800.png

Best Regards

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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