<?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: INDEX function and ORDERBY in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989898#M154718</link>
    <description>&lt;P&gt;Instead of VALUES('Table'[Name]) use VALUES('Table'[Sort])&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 01:56:44 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-06-13T01:56:44Z</dc:date>
    <item>
      <title>INDEX function and ORDERBY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989656#M154690</link>
      <description>&lt;P&gt;I would like to define a measure which use INDEX(). The test measure blow specifies hardcoded "2" in the INDEX() function and it returns "B", which if I understand correctly is the second Name in the alphabethical order of Name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, how can I get the second name in the order of Sort column instead of Name column? I want "A" instead of "B" because its Sort value is "2" and considered the second". I tried to add ORDERBY like below but it did not allow me to select other columns than Name. I guess I should avoid using VALUES but use ADDCOLUMNS or something, but couldn't figure out how to do it.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 22:37:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989656#M154690</guid>
      <dc:creator>Kazu</dc:creator>
      <dc:date>2024-06-12T22:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: INDEX function and ORDERBY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989898#M154718</link>
      <description>&lt;P&gt;Instead of VALUES('Table'[Name]) use VALUES('Table'[Sort])&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 01:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989898#M154718</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-13T01:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: INDEX function and ORDERBY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989934#M154721</link>
      <description>&lt;P&gt;Thanks but that would return "2" instead of "A". I found a solution myself.&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>Thu, 13 Jun 2024 02:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989934#M154721</guid>
      <dc:creator>Kazu</dc:creator>
      <dc:date>2024-06-13T02:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: INDEX function and ORDERBY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989945#M154724</link>
      <description>&lt;P&gt;I am not sure if this would be of help for anybody else, but I found a solution.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 02:13:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3989945#M154724</guid>
      <dc:creator>Kazu</dc:creator>
      <dc:date>2024-06-13T02:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: INDEX function and ORDERBY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3990001#M154730</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="239756" data-lia-user-login="Kazu" class="lia-mention lia-mention-user"&gt;Kazu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear you solved the problem yourself!&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 02:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/INDEX-function-and-ORDERBY/m-p/3990001#M154730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-13T02:31:35Z</dc:date>
    </item>
  </channel>
</rss>

