<?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: IF statement output in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874250#M7301</link>
    <description>&lt;P&gt;Its not about restricting the data, when i join the fact table with the country table, for US, It returns only one product A, but when i use the if statement it returns true correctly, but when it was false it returns all the values from the product table. So am trying to get the output only for the matched values of dimension table with fact table&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 06:25:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-13T06:25:05Z</dc:date>
    <item>
      <title>IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872203#M7235</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a dax query like below&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Performace Status = IF((ISBLANK([Actual TD (Today)]) || ISBLANK([ Planned (Study) (EOM)])),0,1)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The above metric returns output correctly, but the problem comes in when I add dimensions.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EG:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When I add country getting correct output&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;Performance Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i add product getting all product regardless of the fact output Which should return only one product A1, facing this issue when only with this metric since it uses if condition, where result returned for the note else if value too.. when i add the direct metric (Actual TD (Today) &amp;amp; Planned TD (Today)) used in this expression am getting i&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Expected Output&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Performance Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Returned Output&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Performance Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;A1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 14:59:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872203#M7235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872259#M7238</link>
      <description>&lt;P&gt;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that a measure?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:45:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872259#M7238</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2019-12-11T15:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872267#M7239</link>
      <description>&lt;P&gt;Yes it is a measure&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:49:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/872267#M7239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T15:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874243#M7299</link>
      <description>&lt;P&gt;ADd meausre in Visual level filter and add condition MEasure is not 0.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 06:19:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874243#M7299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T06:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874250#M7301</link>
      <description>&lt;P&gt;Its not about restricting the data, when i join the fact table with the country table, for US, It returns only one product A, but when i use the if statement it returns true correctly, but when it was false it returns all the values from the product table. So am trying to get the output only for the matched values of dimension table with fact table&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 06:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874250#M7301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T06:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement output in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874257#M7302</link>
      <description>&lt;P&gt;what is your exact requirement. Please be clear.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 06:35:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-statement-output-in-DAX/m-p/874257#M7302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-13T06:35:58Z</dc:date>
    </item>
  </channel>
</rss>

