<?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 how to apply two and conditions in power bi in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-apply-two-and-conditions-in-power-bi/m-p/2047782#M46013</link>
    <description>&lt;P&gt;&amp;nbsp;i have two&amp;nbsp; two date measure one for previous value and another for Next value&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 1 :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = EOMONTH([Date],-3)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 2 : &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure Next = EOMONTH([Date],+5)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;showing value previous and next&amp;nbsp; month &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Up time = CALCULATE(&lt;BR /&gt;DIVIDE([calc op per day],[calc op per day manne]),&lt;BR /&gt;FILTER('PA - E2PR',&lt;BR /&gt;AND('PA - E2PR'[Effective Date] &amp;lt; [Date],'PA - E2PR'[Effective Date] &amp;gt;= Measuress[Measure])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;how to use measure 2 in uptime . i am trying to getting Error . i want to use two measure in uptime measure . any idea thanks in advance&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 31 Aug 2021 06:01:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-31T06:01:29Z</dc:date>
    <item>
      <title>how to apply two and conditions in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-apply-two-and-conditions-in-power-bi/m-p/2047782#M46013</link>
      <description>&lt;P&gt;&amp;nbsp;i have two&amp;nbsp; two date measure one for previous value and another for Next value&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 1 :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = EOMONTH([Date],-3)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure 2 : &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure Next = EOMONTH([Date],+5)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;showing value previous and next&amp;nbsp; month &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Up time = CALCULATE(&lt;BR /&gt;DIVIDE([calc op per day],[calc op per day manne]),&lt;BR /&gt;FILTER('PA - E2PR',&lt;BR /&gt;AND('PA - E2PR'[Effective Date] &amp;lt; [Date],'PA - E2PR'[Effective Date] &amp;gt;= Measuress[Measure])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;how to use measure 2 in uptime . i am trying to getting Error . i want to use two measure in uptime measure . any idea thanks in advance&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Aug 2021 06:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-apply-two-and-conditions-in-power-bi/m-p/2047782#M46013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-31T06:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply two and conditions in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-apply-two-and-conditions-in-power-bi/m-p/2048394#M46030</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it would be reasonable to show what the error is, don't you think? On top of that, why are you calling a measure 'Measure'? Does this convey any meaning in your model? By the way, is it at all possible to call a measure 'Measure' and get away with it? On another note, why are you filtering a full table in CALCULATE? Do you know that it's Bad Practice and will slow the formula down? Even worse, there are contexts in which this formula will return incorrect figures. No, it's not a joke. I've seen this happen. If you need to filter, you should always filter by the smallest number of columns that will do the job. This is one of the golden rules of DAX programming... Also, are you aware that if you put a measure in the boolean expression under FILTER, context transition will be applied to the measure? Measures, incidentally, should never be preceded with the name of the table they reside in. Columns, on the other hand, should always be. Another rule in DAX.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 09:39:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-apply-two-and-conditions-in-power-bi/m-p/2048394#M46030</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-08-31T09:39:40Z</dc:date>
    </item>
  </channel>
</rss>

