<?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: Help with DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221068#M52743</link>
    <description>&lt;P&gt;If you're writing a measure, then you can't refer to a raw column since it doesn't know which values from that column you want are, so you need to use some kind of aggregation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming there actually is a column named STATUS in the table 'EWW 2022', you can write&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF (
    SELECTEDVALUE ( 'EWW 2022'[STATUS] ) = "REALIZACJA",
    SUM ( 'EWW 2022'[TURNOVER] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the error message associated with the common DAX mistake above is different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure STATUS is actually a column on 'EWW 2022' and not a different table and that there aren't extra spaces or something similar in the name?&lt;/P&gt;</description>
    <pubDate>Sat, 04 Dec 2021 20:45:04 GMT</pubDate>
    <dc:creator>AlexisOlson</dc:creator>
    <dc:date>2021-12-04T20:45:04Z</dc:date>
    <item>
      <title>Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221066#M52741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just have started with DAX, and I would create my first measure, but something is wrong.&lt;/P&gt;&lt;P&gt;I have a comment "cannot find name of column".&lt;/P&gt;&lt;P&gt;Could you explain to me why is that?&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>Sat, 04 Dec 2021 20:38:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221066#M52741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-04T20:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221068#M52743</link>
      <description>&lt;P&gt;If you're writing a measure, then you can't refer to a raw column since it doesn't know which values from that column you want are, so you need to use some kind of aggregation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming there actually is a column named STATUS in the table 'EWW 2022', you can write&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF (
    SELECTEDVALUE ( 'EWW 2022'[STATUS] ) = "REALIZACJA",
    SUM ( 'EWW 2022'[TURNOVER] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the error message associated with the common DAX mistake above is different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure STATUS is actually a column on 'EWW 2022' and not a different table and that there aren't extra spaces or something similar in the name?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 20:45:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221068#M52743</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-12-04T20:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221069#M52744</link>
      <description>&lt;P&gt;Were you trying to sum the turnover column only where the status of each row equaled REALIZACJA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so I think the following is what you want:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(
    SUM ( 'EWW 2022'[TURNOVER] ),
    'EWW 2022'[STATUS] = "REALIZACJA"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CALCULATE lets you add a filter in directly (amoungst other things!) rather than relying on a slicer etc.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 21:01:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221069#M52744</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2021-12-04T21:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221072#M52745</link>
      <description>&lt;P&gt;Thank you so much for your help!&lt;BR /&gt;It was exactly what I needed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I wanted to start with a simple function, and it turned out that it isn't as easy as I thought&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 20:58:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221072#M52745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-04T20:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221075#M52746</link>
      <description>&lt;P&gt;A really good place to start learning is this free video course:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/p/introducing-dax-video-course/" target="_blank"&gt;https://www.sqlbi.com/p/introducing-dax-video-course/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 21:03:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX/m-p/2221075#M52746</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2021-12-04T21:03:55Z</dc:date>
    </item>
  </channel>
</rss>

