<?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: Need help understaning DAX code in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-understaning-DAX-code/m-p/870188#M7166</link>
    <description>&lt;P&gt;We probably need a sample of the data you're running this against. Copy and paste a sample in from Excel.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 02:18:49 GMT</pubDate>
    <dc:creator>kentyler</dc:creator>
    <dc:date>2019-12-10T02:18:49Z</dc:date>
    <item>
      <title>Need help understaning DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-understaning-DAX-code/m-p/864084#M7022</link>
      <description>&lt;P&gt;Hello ppl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a DAX code&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Decline = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __Result =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX (&lt;/SPAN&gt;&lt;SPAN&gt;VALUES ( 'Date'[Calendar YearWeekNumber] );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[Number of customers with responses]&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Responses[RESPONSE_TYPE] = 6&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR __ShowData =&lt;/SPAN&gt;&lt;SPAN&gt;NOT ( ISBLANK ( __Result ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH ( __ShowData; TRUE (); __Result; BLANK () )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Due to some reason, i am missing some values in this and i am not able to understand why? On the other hand if I use this formula&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Test_Decline = CALCULATE([Number of customers with responses];FACT_CAMPAIGN_RESPONSE[RESPONSE_TYPE]=6)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then i get the missing values. Can you help me understand why would there be some values missing in the first code?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:54:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-understaning-DAX-code/m-p/864084#M7022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T21:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help understaning DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-understaning-DAX-code/m-p/870188#M7166</link>
      <description>&lt;P&gt;We probably need a sample of the data you're running this against. Copy and paste a sample in from Excel.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 02:18:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-understaning-DAX-code/m-p/870188#M7166</guid>
      <dc:creator>kentyler</dc:creator>
      <dc:date>2019-12-10T02:18:49Z</dc:date>
    </item>
  </channel>
</rss>

