<?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: Problem with visual plot (Dax Query) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3765210#M146943</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="454859" data-lia-user-login="adii" class="lia-mention lia-mention-user"&gt;adii&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To troubleshoot this, consider the following steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Review the&amp;nbsp;&lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#c7254e"&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;Function Usage: Ensure that the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function in your DAX query is receiving the correct year, month, and day arguments. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function syntax should be&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/date-function-dax" target="_blank"&gt;DATE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;. Each argument must be an integer, and the resulting date must be within the acceptable date range for Power BI.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Check Data Types: Verify that the columns or values you're using as arguments for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function are of the correct data type (i.e., integers for year, month, and day). If you're deriving these values from other columns, ensure those columns are correctly formatted or cast them to integers using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Validate Date Range: Ensure that the date being generated by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function falls within a valid range. Power BI can handle dates from January 1, 1900, to December 31, 9999. If your calculation might result in dates outside this range, you'll need to adjust your logic.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You can try changing the measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;...
selected_end_month= EDATE(_las_date,-1)
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 06:12:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-15T06:12:22Z</dc:date>
    <item>
      <title>Problem with visual plot (Dax Query)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3763493#M146862</link>
      <description>&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hello , I have problem with visual , I don't understand why visual shows a wrong .. . In Dad query total is correct, but I couldn't plot graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On photo I show my dax query and windows with wrong information&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pls help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 12:02:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3763493#M146862</guid>
      <dc:creator>adii</dc:creator>
      <dc:date>2024-03-14T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with visual plot (Dax Query)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3764733#M146918</link>
      <description>&lt;P&gt;You can start here&amp;nbsp;&lt;A href="https://xxlbi.com/blog/power-bi-antipatterns-9/" target="_blank"&gt;Power BI Antipatterns #9: Filtering whole tables, part I – XXL BI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 01:20:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3764733#M146918</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-15T01:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with visual plot (Dax Query)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3765210#M146943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="454859" data-lia-user-login="adii" class="lia-mention lia-mention-user"&gt;adii&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To troubleshoot this, consider the following steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Review the&amp;nbsp;&lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#c7254e"&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;Function Usage: Ensure that the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function in your DAX query is receiving the correct year, month, and day arguments. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function syntax should be&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/date-function-dax" target="_blank"&gt;DATE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;. Each argument must be an integer, and the resulting date must be within the acceptable date range for Power BI.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Check Data Types: Verify that the columns or values you're using as arguments for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function are of the correct data type (i.e., integers for year, month, and day). If you're deriving these values from other columns, ensure those columns are correctly formatted or cast them to integers using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT&gt;Validate Date Range: Ensure that the date being generated by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function falls within a valid range. Power BI can handle dates from January 1, 1900, to December 31, 9999. If your calculation might result in dates outside this range, you'll need to adjust your logic.&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You can try changing the measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;...
selected_end_month= EDATE(_las_date,-1)
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 06:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-visual-plot-Dax-Query/m-p/3765210#M146943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-15T06:12:22Z</dc:date>
    </item>
  </channel>
</rss>

