<?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: Dynamic measure calculation based on filter selection in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2297978#M34027</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/311351"&gt;@SDK0415&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Try to create a measure like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var select_month = MAX('Date'[work_days])
var select_machine = MAX('Table'[Output])
var vol_ = IF(ISBLANK(MAX('Table'[Vol Factors])),1,MAX('Table'[Vol Factors]))
return select_month*select_machine*vol_&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vlianlmsft_0-1643010467929.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/659765i094EC0D247FDC6C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vlianlmsft_0-1643010467929.png" alt="Vlianlmsft_0-1643010467929.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 07:48:07 GMT</pubDate>
    <dc:creator>V-lianl-msft</dc:creator>
    <dc:date>2022-01-24T07:48:07Z</dc:date>
    <item>
      <title>Dynamic measure calculation based on filter selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2289486#M33936</link>
      <description>&lt;P&gt;I would like to create a measure to have different calculations for different machines based on filter criteria, refer the screenshot from excel below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I Select Machine b in Filter 1 &amp;amp; Mar Month in Filter 2 - the calculation should be 20(output)*23(No of working days in Mar month) = 460&lt;/P&gt;&lt;P&gt;When I Select Machine c in Filter 1 &amp;amp; Apr Month in Filter 2 - the calculation should be 30(output)*22(No of working days in Mar month)*120(Vol factor) = 75600&lt;/P&gt;&lt;P&gt;Coluymn A,B,C is the Data table&lt;/P&gt;&lt;P&gt;Column H&amp;amp;I is calendar table(I have a measure to calculate the no. of working days)&lt;/P&gt;&lt;P&gt;How can i achive it ?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 942px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/657643iFC31C1CF7D2AD265/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2289486#M33936</guid>
      <dc:creator>SDK0415</dc:creator>
      <dc:date>2022-01-18T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure calculation based on filter selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2292495#M33972</link>
      <description>&lt;P&gt;Read about Calculation Groups and then decide if that's something you can implement with them.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 03:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2292495#M33972</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-01-20T03:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure calculation based on filter selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2297978#M34027</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/311351"&gt;@SDK0415&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Try to create a measure like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var select_month = MAX('Date'[work_days])
var select_machine = MAX('Table'[Output])
var vol_ = IF(ISBLANK(MAX('Table'[Vol Factors])),1,MAX('Table'[Vol Factors]))
return select_month*select_machine*vol_&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vlianlmsft_0-1643010467929.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/659765i094EC0D247FDC6C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vlianlmsft_0-1643010467929.png" alt="Vlianlmsft_0-1643010467929.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 07:48:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-measure-calculation-based-on-filter-selection/m-p/2297978#M34027</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2022-01-24T07:48:07Z</dc:date>
    </item>
  </channel>
</rss>

