<?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 Problem with Sort Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2636493#M77296</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m trying to sort "Level 1" value based on the value in "Primary Key" but I´ve also tried "Primary Key 2" without and success.&lt;/P&gt;&lt;P&gt;Only get this error message: There can´t be more than one value in "Level 1 Order" for the same value in "Level 1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Niclas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 13:24:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-13T13:24:16Z</dc:date>
    <item>
      <title>Problem with Sort Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2636493#M77296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m trying to sort "Level 1" value based on the value in "Primary Key" but I´ve also tried "Primary Key 2" without and success.&lt;/P&gt;&lt;P&gt;Only get this error message: There can´t be more than one value in "Level 1 Order" for the same value in "Level 1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Niclas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 13:24:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2636493#M77296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-13T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Sort Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2636579#M77307</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , I think Primary Key 2 should work. In not Create a new column like this and try to sort on that&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(isblank([Lavel1], blank(), [Primary Key 2])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use this new column&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 13:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2636579#M77307</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-07-13T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Sort Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2644547#M77779</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;I´m trying to sort "Level 1" value based on the value in "Primary Key" but I´ve also tried "Primary Key 2" without and success.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;where are you trying to sort column? in Excel or in Power BI Desktop?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 10:22:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Sort-Column/m-p/2644547#M77779</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-07-18T10:22:38Z</dc:date>
    </item>
  </channel>
</rss>

