<?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: DAX error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2146331#M49398</link>
    <description>&lt;P&gt;The error implies that 'Part File' contains multiple rows where 'Part File'[PartPlantbyYearWeekNum] is the same but has different values of [OrderMinimumQty].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try defining a calculated table like this to try finding where this occurs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Summary =
FILTER (
    SUMMARIZE (
        'Part File',
        'Part File'[PartPlantbyYearWeekNum],
        "DistinctQty", DISTINCTCOUNT ( 'Part File'[OrderMinimumQty] )
    ),
    [DistinctQty] &amp;gt; 1
)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 20 Oct 2021 17:16:58 GMT</pubDate>
    <dc:creator>AlexisOlson</dc:creator>
    <dc:date>2021-10-20T17:16:58Z</dc:date>
    <item>
      <title>DAX error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2146293#M49395</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have appended the query multiple times and I did not seem to have any issue, until now.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thats the formula I used, I am not sure what the problem is.&lt;/P&gt;&lt;P&gt;There are no duplicate values. I double checked and it is still throwing error.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:54:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2146293#M49395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-20T16:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2146331#M49398</link>
      <description>&lt;P&gt;The error implies that 'Part File' contains multiple rows where 'Part File'[PartPlantbyYearWeekNum] is the same but has different values of [OrderMinimumQty].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try defining a calculated table like this to try finding where this occurs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Summary =
FILTER (
    SUMMARIZE (
        'Part File',
        'Part File'[PartPlantbyYearWeekNum],
        "DistinctQty", DISTINCTCOUNT ( 'Part File'[OrderMinimumQty] )
    ),
    [DistinctQty] &amp;gt; 1
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 17:16:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2146331#M49398</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-10-20T17:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2147785#M49450</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the result I got:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I dont see the partplantbyYearWeekNum being repeated.&lt;/P&gt;&lt;P&gt;I still quite not understand what the problem is.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 09:30:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2147785#M49450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-21T09:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2147795#M49451</link>
      <description>&lt;P&gt;I understood what the problem is.&lt;/P&gt;&lt;P&gt;PartplantByYearWeekNumber is repeated twice with different orderminqty.&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I please know how to fix that?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 09:35:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2147795#M49451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-21T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2148459#M49466</link>
      <description>&lt;P&gt;You need to either remove the repeats before loading the query to the model or else decide how you want to choose Qty when there are multiple values present and write your lookup accordingly (not with LOOKUPVALUE).&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:46:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-error/m-p/2148459#M49466</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-10-21T14:46:39Z</dc:date>
    </item>
  </channel>
</rss>

