<?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 Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3957886#M153598</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;How to solve the same problem when my COUNTER LE is in a different table.&lt;/P&gt;&lt;P&gt;Please help me with that.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 11:42:35 GMT</pubDate>
    <dc:creator>Unknown_1</dc:creator>
    <dc:date>2024-05-29T11:42:35Z</dc:date>
    <item>
      <title>Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885315#M151579</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a dax syntax in which column A is sorted Alphabetically.&lt;/P&gt;&lt;P&gt;Column C and Column D are checked or looked up in column A and if that match is found then in the result earlier alphabetical value is taken first followed by the next.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written the formula in Excel.&lt;/P&gt;&lt;P&gt;Please see the attached picture for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 08:04:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885315#M151579</guid>
      <dc:creator>Unknown_1</dc:creator>
      <dc:date>2024-05-02T08:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885411#M151581</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To sort a column alphabetically in DAX, you would typically use the &lt;/SPAN&gt;ORDER BY&lt;SPAN&gt; function within a &lt;/SPAN&gt;SUMMARIZE&lt;SPAN&gt; or &lt;/SPAN&gt;SELECTCOLUMNS&lt;SPAN&gt; function. Here's a simple example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SortedTable =&lt;BR /&gt;SORT(&lt;BR /&gt;TableName,&lt;BR /&gt;TableName[ColumnA], ASC&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code will sort the table "TableName" based on the values in "ColumnA" in ascending order.&lt;/P&gt;&lt;P&gt;For the lookup operation you described, you can use DAX functions like RELATED or LOOKUPVALUE. Here's a basic example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LookupResult =&lt;BR /&gt;SELECTCOLUMNS(&lt;BR /&gt;TableName,&lt;BR /&gt;"ColumnA", TableName[ColumnA],&lt;BR /&gt;"MatchedColumnC", LOOKUPVALUE(TableName[ColumnC], TableName[ColumnA], TableName[ColumnA]),&lt;BR /&gt;"MatchedColumnD", LOOKUPVALUE(TableName[ColumnD], TableName[ColumnA], TableName[ColumnA])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code will create a new table with columns "ColumnA", "MatchedColumnC", and "MatchedColumnD", where "MatchedColumnC" and "MatchedColumnD" are looked up based on the value in "ColumnA".&lt;/P&gt;&lt;P&gt;You can adjust these examples to suit your specific needs and integrate them into your DAX formula. If you provide more details about your specific requirements, I can tailor the code accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 08:40:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885411#M151581</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2024-05-02T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885502#M151585</link>
      <description>&lt;P&gt;My specific Requirement is :&lt;/P&gt;&lt;P&gt;I want distinct values from Column Counter BU and Legal Entity and store those values alphabetically in a new column or table.&lt;/P&gt;&lt;P&gt;Post that I want to check Counter BU and Legal Entity in the newly created table/Column and return the Alphabetically earlier value taken first.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; I hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 09:17:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3885502#M151585</guid>
      <dc:creator>Unknown_1</dc:creator>
      <dc:date>2024-05-02T09:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3887944#M151660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="713842" data-lia-user-login="Unknown_1" class="lia-mention lia-mention-user"&gt;Unknown_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403667" data-lia-user-login="123abc" class="lia-mention lia-mention-user"&gt;123abc&lt;/a&gt;&amp;nbsp;, please allow me to provide another insight:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creating Calculated Columns, Writing Expressions&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result = 
IF (
    MIN ( [LE], [COUNTER LE] ) &amp;amp; MAX ( [LE], [COUNTER LE] ) = [LE] &amp;amp; [COUNTER LE],
    [LE] &amp;amp; [COUNTER LE],
    MIN ( [LE], [COUNTER LE] ) &amp;amp; MAX ( [LE], [COUNTER LE] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Current Period does not refer to this, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 06:12:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3887944#M151660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-03T06:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3957886#M153598</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;How to solve the same problem when my COUNTER LE is in a different table.&lt;/P&gt;&lt;P&gt;Please help me with that.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 11:42:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help/m-p/3957886#M153598</guid>
      <dc:creator>Unknown_1</dc:creator>
      <dc:date>2024-05-29T11:42:35Z</dc:date>
    </item>
  </channel>
</rss>

