<?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: Can't seem to create a line chart with date measure field in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778303#M86850</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102663" data-lia-user-login="btfergie" class="lia-mention lia-mention-user"&gt;btfergie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 16:50:33 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-19T16:50:33Z</dc:date>
    <item>
      <title>Can't seem to create a line chart with date measure field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2774127#M86496</link>
      <description>&lt;P&gt;I am trying to create a line chart visual with status date on the X axis and status number on the Y axiz but can't use the measure index or date fields in the X axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is related to a process going through different stages with an estimated duration known for each stage.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First I select the process type I am interested in.&amp;nbsp; This gives me the duration at each stage.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Then I convert the start date to a workday index with a LOOKUPVALUE on a date table so I can count only workdays.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Start WorkDayIndex Col = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;lookupvalue&lt;/SPAN&gt;&lt;SPAN&gt;('Calendar2 (EDWn)'[WorkDayIndex],'Calendar2 (EDWn)'[Calendar Date],&lt;/SPAN&gt;&lt;SPAN&gt;FIRSTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(MoldQual_RCGL[ProcessStart])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding the&amp;nbsp; Start WorkDay Index to the Completed Total duration, I get a Status WorkDayIndex measure.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Status WorkDayIndex = [Start WorkDayIndex]+&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;('Mold Qual Duration Categories'[Completed Total])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;I then use the Status WorkDayIndex measure to Lookup a Date.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProjectedStatusDate = &lt;/SPAN&gt;&lt;SPAN&gt;calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LOOKUPVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Calendar2 (EDWn)'[Calendar Date],'Calendar2 (EDWn)'[WorkDayIndex],[Status WorkDayIndex]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This all works in a table but I can seem to use the ProjectedStatusDate in a line chart visual.&amp;nbsp; I can't drop the field in the field box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 16:56:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2774127#M86496</guid>
      <dc:creator>btfergie</dc:creator>
      <dc:date>2022-09-16T16:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't seem to create a line chart with date measure field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2774259#M86519</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102663" data-lia-user-login="btfergie" class="lia-mention lia-mention-user"&gt;btfergie&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please conver the [ProjectStatusDate] to &lt;U&gt;date&lt;/U&gt; data type using power query.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 17:48:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2774259#M86519</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-16T17:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't seem to create a line chart with date measure field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778260#M86838</link>
      <description>&lt;P&gt;Thank you but it does seem to be date type.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 16:32:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778260#M86838</guid>
      <dc:creator>btfergie</dc:creator>
      <dc:date>2022-09-19T16:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't seem to create a line chart with date measure field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778303#M86850</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102663" data-lia-user-login="btfergie" class="lia-mention lia-mention-user"&gt;btfergie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 16:50:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778303#M86850</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-19T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't seem to create a line chart with date measure field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778470#M86867</link>
      <description>&lt;P&gt;I don't beleive it is text date type.&amp;nbsp; But if it was would you suggest usaing the format function?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 18:04:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-seem-to-create-a-line-chart-with-date-measure-field/m-p/2778470#M86867</guid>
      <dc:creator>btfergie</dc:creator>
      <dc:date>2022-09-19T18:04:44Z</dc:date>
    </item>
  </channel>
</rss>

