<?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 Filtering DAX variable in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-DAX-variable/m-p/748642#M2610</link>
    <description>&lt;P&gt;Hi! I have a DAX statement like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"VAR _road = RST[road]&lt;BR /&gt;VAR _section = RST[section]&lt;BR /&gt;VAR _dist = RST[distance]&lt;/P&gt;&lt;P&gt;VAR _COMPARISON = CALCULATE(SUM(RST[edgedropoffdepth]); FILTER(RST; RST[distance] = _dist &amp;amp;&amp;amp; RST[road] = _road &amp;amp;&amp;amp; RST[section] = _section &amp;amp;&amp;amp; RST[runname] = 41))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RETURN&lt;BR /&gt;RST[edgedropoffdepth] - _COMPARISON"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So basically I have the same road/section/distance and I'd like to compare how the value has changes. Is it somehow possible to but a value for this "VAR _FIRST", if there is no value with desired distances, road, section and runname. So is there a possibility to add somekind of IF statement (or something else).&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 06:42:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-25T06:42:54Z</dc:date>
    <item>
      <title>Filtering DAX variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-DAX-variable/m-p/748642#M2610</link>
      <description>&lt;P&gt;Hi! I have a DAX statement like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"VAR _road = RST[road]&lt;BR /&gt;VAR _section = RST[section]&lt;BR /&gt;VAR _dist = RST[distance]&lt;/P&gt;&lt;P&gt;VAR _COMPARISON = CALCULATE(SUM(RST[edgedropoffdepth]); FILTER(RST; RST[distance] = _dist &amp;amp;&amp;amp; RST[road] = _road &amp;amp;&amp;amp; RST[section] = _section &amp;amp;&amp;amp; RST[runname] = 41))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RETURN&lt;BR /&gt;RST[edgedropoffdepth] - _COMPARISON"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So basically I have the same road/section/distance and I'd like to compare how the value has changes. Is it somehow possible to but a value for this "VAR _FIRST", if there is no value with desired distances, road, section and runname. So is there a possibility to add somekind of IF statement (or something else).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 06:42:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-DAX-variable/m-p/748642#M2610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T06:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering DAX variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-DAX-variable/m-p/753101#M2878</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look at this article. It contains some great tips for getting your question answered quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;&lt;SPAN style="font-family: SegoeUI; font-size: 11.25pt; background: #F8F8F8;"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;Thanks for being part of the community!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 18:12:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-DAX-variable/m-p/753101#M2878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-30T18:12:29Z</dc:date>
    </item>
  </channel>
</rss>

