<?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 a comparative measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2704450#M81975</link>
    <description>&lt;P&gt;It worked ! I've just changed a little bit, but the idea was correct.&lt;BR /&gt;&lt;BR /&gt;&lt;!--   StartFragment    --&gt;&lt;SPAN class=""&gt;pecas_expostas_comparative:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;([Month Equiv] = &lt;/SPAN&gt;&lt;SPAN class=""&gt;COUNT&lt;/SPAN&gt;&lt;SPAN class=""&gt;(fact_share[CountColumn]),[sum peças_expostas],&lt;/SPAN&gt;&lt;SPAN class=""&gt;BLANK&lt;/SPAN&gt;&lt;SPAN class=""&gt;())&lt;/SPAN&gt;&lt;!--   EndFragment    --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Many many tks !&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 21:09:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-16T21:09:05Z</dc:date>
    <item>
      <title>Help with a comparative measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2701038#M81771</link>
      <description>&lt;P&gt;Hello everyone! I'm trying really hard to solve this issue, but i can't figure out how.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set with column count :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the month is filtered on calendar table, it expected to count how many time this value on Auxultimames occurs. So if i filter Jan-Feb-Mar&lt;/P&gt;&lt;P&gt;It shows 1 to 3&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to sum([peças_expostas]) only if the count is equal to the amount of itens selected in the month slicer. I want to do it dinamically.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 17:31:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2701038#M81771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-15T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a comparative measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2701222#M81776</link>
      <description>&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;First Measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Rows in Dates = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;'Dates'&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Second Measure =&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Month Equiv = &lt;/SPAN&gt;&lt;SPAN&gt;ROUND&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[# Rows in Dates]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;30.4&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then you can compare your count of names with an IF Statement , something like&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;Final = IF([pecas_expostas] = [Month Equiv], [Cout of Name], BLANK())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;P.S. Your Date Table should be continuous, marked as Date Table and have relationship with your fact table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Aug 2022 19:47:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2701222#M81776</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-08-15T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a comparative measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2704450#M81975</link>
      <description>&lt;P&gt;It worked ! I've just changed a little bit, but the idea was correct.&lt;BR /&gt;&lt;BR /&gt;&lt;!--   StartFragment    --&gt;&lt;SPAN class=""&gt;pecas_expostas_comparative:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;([Month Equiv] = &lt;/SPAN&gt;&lt;SPAN class=""&gt;COUNT&lt;/SPAN&gt;&lt;SPAN class=""&gt;(fact_share[CountColumn]),[sum peças_expostas],&lt;/SPAN&gt;&lt;SPAN class=""&gt;BLANK&lt;/SPAN&gt;&lt;SPAN class=""&gt;())&lt;/SPAN&gt;&lt;!--   EndFragment    --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Many many tks !&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 21:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-a-comparative-measure/m-p/2704450#M81975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-16T21:09:05Z</dc:date>
    </item>
  </channel>
</rss>

