<?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 command with condition in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3378396#M127246</link>
    <description>&lt;P&gt;Dear John, Thanks for the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i apply the same formula, there is a bit of change in the output as below. If you notice so, the values on the left are correct although when I add your formula in Excel, the output is uniform for all months (mentioned as TestFormula).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 07:02:50 GMT</pubDate>
    <dc:creator>naveedsaeed1</dc:creator>
    <dc:date>2023-08-14T07:02:50Z</dc:date>
    <item>
      <title>DAX command with condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3375717#M127112</link>
      <description>&lt;P&gt;Hello community team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below ConcatenateX formula for the purpose to join multiple values in pivot if there is any dual values for the same variable.&lt;/P&gt;&lt;P&gt;=CONCATENATEX(DISTINCT(Table1[Mode]), Table1[Mode] ,", ")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although there is one limitation is that whenever there is no second value or blank value so it still return a comma and a space. For Example:&amp;nbsp;"&lt;STRONG&gt;ModeValue, &lt;/STRONG&gt;" and sometimes if initial value is blank then it returns "&lt;STRONG&gt;, ModeValue&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;I would like if there is no second value/ blank value or initial value is blank so I want the individual value to be returned without comma and the space. For Example: "&lt;STRONG&gt;ModeValue&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 07:08:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3375717#M127112</guid>
      <dc:creator>naveedsaeed1</dc:creator>
      <dc:date>2023-08-11T07:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX command with condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3376168#M127132</link>
      <description>&lt;P&gt;You could use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;My Measure =
CONCATENATEX (
    DISTINCT (
        FILTER ( ALLSELECTED ( Table1[Mode] ), NOT ISBLANK ( Table1[Mode] ) )
    ),
    Table1[Mode],
    ", "
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Aug 2023 10:52:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3376168#M127132</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-08-11T10:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX command with condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3378396#M127246</link>
      <description>&lt;P&gt;Dear John, Thanks for the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i apply the same formula, there is a bit of change in the output as below. If you notice so, the values on the left are correct although when I add your formula in Excel, the output is uniform for all months (mentioned as TestFormula).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:02:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-command-with-condition/m-p/3378396#M127246</guid>
      <dc:creator>naveedsaeed1</dc:creator>
      <dc:date>2023-08-14T07:02:50Z</dc:date>
    </item>
  </channel>
</rss>

