<?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: Date tables - Sage 200 in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746893#M50151</link>
    <description>&lt;P&gt;I've corrected the Max in line 18 and it coes up with this, how I simplyfy it?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_0-1709750743005.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055379i1152E0A247DC574A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_0-1709750743005.png" alt="Chris2B_0-1709750743005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 18:47:22 GMT</pubDate>
    <dc:creator>Chris2B</dc:creator>
    <dc:date>2024-03-06T18:47:22Z</dc:date>
    <item>
      <title>Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3741088#M50021</link>
      <description>&lt;P&gt;Hi I need somehelp with my date table.&lt;BR /&gt;&lt;BR /&gt;I have a live dataset that has been integrated from Sage 200, however I am having a major issue with my date table. It is pulling all the way from 1818 instead of 2018. The dat range that I want it to pull from is&amp;nbsp;&lt;SPAN&gt;'Invoice Credit Line View'&lt;/SPAN&gt;&lt;SPAN&gt;[sop_invoice_credit_document_date]. Its not allowing me to use that as the date table as it says that there are not consecutive dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I can get somehelp I would really appreciate this as I am unable to do any time intelligencemeasures such as SPLY.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;KR,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_0-1709590122659.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1053820i75305687F85CB13A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_0-1709590122659.png" alt="Chris2B_0-1709590122659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:13:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3741088#M50021</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-04T22:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3741247#M50027</link>
      <description>&lt;P&gt;Your fact table seems to contain a "May 14 1818" date. So that's what the calendar wants to use.&amp;nbsp; Problem is that the Windows calendar only starts on December 30 1899. Hence your gap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp; Read about COALESCE , it can simplify your code quite a bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dates = CALENDAR(MAX(earliestdate,"1900-01-01"),COALESCE(latestdate,TODAY()))&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:48:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3741247#M50027</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T17:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3742719#M50055</link>
      <description>&lt;P&gt;Hi Ibendin,&lt;BR /&gt;&lt;BR /&gt;Thanks for this, it is a great help. I have tried implementing the COALSCE to remove the gap but I am still getting an error code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_1-1709636248003.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1054248i66A8725334DD4C30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_1-1709636248003.png" alt="Chris2B_1-1709636248003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I appreciate the help.&lt;BR /&gt;&lt;BR /&gt;KR,&lt;BR /&gt;&lt;BR /&gt;Chris2b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 10:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3742719#M50055</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-05T10:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3744142#M50079</link>
      <description>&lt;P&gt;you are missing a closing parenthesis after the second argument of MAX()&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 20:36:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3744142#M50079</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-05T20:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746776#M50144</link>
      <description>&lt;P&gt;Sorry I am not understanding? I have tried adding a closing parenthesis but I still am getting errors. I sipossible to help me rewrite it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:37:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746776#M50144</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-06T17:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746794#M50145</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;CALENDAR(MAX(earliestdate,"1900-01-01"),COALESCE(latestdate,TODAY()))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:47:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746794#M50145</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T17:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746815#M50148</link>
      <description>&lt;P&gt;I have tried using Chat GPT to amend the Max values and I have gotten a new error message:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_0-1709747680743.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055372i6E7E59815585151C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_0-1709747680743.png" alt="Chris2B_0-1709747680743.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:54:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746815#M50148</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-06T17:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746829#M50149</link>
      <description>&lt;P&gt;that would be in line 18.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your overall formula looks like it can be simplified too.&amp;nbsp; Can you formulate the business rules for earliestdate and latestdate?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:00:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746829#M50149</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T18:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746893#M50151</link>
      <description>&lt;P&gt;I've corrected the Max in line 18 and it coes up with this, how I simplyfy it?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_0-1709750743005.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055379i1152E0A247DC574A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_0-1709750743005.png" alt="Chris2B_0-1709750743005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:47:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746893#M50151</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-06T18:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746987#M50152</link>
      <description>&lt;P&gt;Why did you change line 26?&amp;nbsp; &amp;nbsp; needs MAX, not MIN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this point it might be easier if you would provide a sample of your data model and data.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 20:13:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3746987#M50152</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T20:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date tables - Sage 200</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3747112#M50156</link>
      <description>&lt;P&gt;Sorry it must have been a typo.&lt;BR /&gt;&lt;BR /&gt;I have corrected it and it is still giving me the same message.&lt;BR /&gt;&lt;BR /&gt;thi is the model as it was pulled directly from Sage 200, it is very messy and that is why I am having troubles with it.&lt;BR /&gt;&lt;BR /&gt;I have managed to do basic sales and costs calculations but I am unable to make any time calculated measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THis is what the model view looks like, what sample data would you like?&lt;/P&gt;&lt;P&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris2B_0-1709761048671.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055443i5FF7266ECA90DC93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris2B_0-1709761048671.png" alt="Chris2B_0-1709761048671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 21:37:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-tables-Sage-200/m-p/3747112#M50156</guid>
      <dc:creator>Chris2B</dc:creator>
      <dc:date>2024-03-06T21:37:54Z</dc:date>
    </item>
  </channel>
</rss>

