<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best way to set monthly job for data pipeline in Fabric in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3392689#M588</link>
    <description>&lt;P&gt;Thank you for the answer. I hope the monthly option will be available soon. For now, we might try to use minutes scheduler as a workaround e.g.&amp;nbsp;&lt;SPAN&gt;44640 (31 days,&amp;nbsp;&lt;/SPAN&gt;it's OK for now as our project is at PoC phase) but is there maximum limitation?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 14:10:40 GMT</pubDate>
    <dc:creator>shingot</dc:creator>
    <dc:date>2023-08-22T14:10:40Z</dc:date>
    <item>
      <title>Best way to set monthly job for data pipeline in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3391531#M584</link>
      <description>&lt;P&gt;I am making a data pipeline that should run once a month to aggregate monthly data but schedule interval can be set to one of minutes, hourly, daily and weekly. How can we setup monthly job?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 05:32:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3391531#M584</guid>
      <dc:creator>shingot</dc:creator>
      <dc:date>2023-08-22T05:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to set monthly job for data pipeline in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3391556#M585</link>
      <description>&lt;P&gt;Monthly scheduler is not supported yet. It is in plan.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 05:44:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3391556#M585</guid>
      <dc:creator>GraceGu</dc:creator>
      <dc:date>2023-08-22T05:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to set monthly job for data pipeline in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3392689#M588</link>
      <description>&lt;P&gt;Thank you for the answer. I hope the monthly option will be available soon. For now, we might try to use minutes scheduler as a workaround e.g.&amp;nbsp;&lt;SPAN&gt;44640 (31 days,&amp;nbsp;&lt;/SPAN&gt;it's OK for now as our project is at PoC phase) but is there maximum limitation?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 14:10:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3392689#M588</guid>
      <dc:creator>shingot</dc:creator>
      <dc:date>2023-08-22T14:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to set monthly job for data pipeline in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3424046#M675</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="598981" data-lia-user-login="shingot" class="lia-mention lia-mention-user"&gt;shingot&lt;/a&gt;&amp;nbsp;check if this could work for you (it was the solution i used to do a end of month trigger)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This assumes you want to do it on end of month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CODE:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;declare&lt;/SPAN&gt; &lt;SPAN&gt;@current_date&lt;/SPAN&gt; &lt;SPAN&gt;datetime&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;GETDATE()&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;CONVERT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;varchar&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;@current_date&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;120&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;getdate&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&amp;nbsp;(either do your statement here or use a return value to pass it as a variable for the pipeline)&lt;/DIV&gt;&lt;DIV&gt;"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The pipeline executes everyday and does this validation first. If the current date is not the last day of the month, the pipeline will end there, if it's the last day of the month it'll execute the remaining pipeline (i send either a 0 or 1 as return and according to the returned value it either executes the rest of the pipeline or it stops there)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I think it's a more robust solution, since scheduling X amount of minutes will vary according to the number of days per month.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can save the SQL query as a store procedure on datawarehouse, for instance, and invoke it on the pipeline.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope it helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Ricardo Marques&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Sep 2023 10:03:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Best-way-to-set-monthly-job-for-data-pipeline-in-Fabric/m-p/3424046#M675</guid>
      <dc:creator>rickmarques</dc:creator>
      <dc:date>2023-09-11T10:03:28Z</dc:date>
    </item>
  </channel>
</rss>

