<?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: Scalable measures and filters within measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2925084#M96056</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451827" data-lia-user-login="SLJN" class="lia-mention lia-mention-user"&gt;SLJN&lt;/a&gt; , Try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actual weight (NO) =&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE (&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[weight],&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filter( BUSINESSUNIT, BUSINESSUNIT&amp;nbsp;[BUID] = "NO"),&lt;/P&gt;
&lt;P&gt;filter(PRODUCT, PRODUCT[PRODUCT] in ("CORV","RENA"))&lt;BR /&gt;)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 17:08:14 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-11-23T17:08:14Z</dc:date>
    <item>
      <title>Scalable measures and filters within measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2924647#M96014</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with creating scalable measures. The desired end result is to display a business unit with its&amp;nbsp; total weight of selected products, and the selected products separately. In example, I want to display the total weight of the products in business unit 1 in total and then when you select business unit 1 i want to show product 1 and 2 seperately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 9 business units that all have several different products. However, its only the selected products that I'm interested in.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The star schema looks as following.&amp;nbsp;&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;&lt;P&gt;I have done a measure to summarize the total weight called weight (T). And then a measure for each BU like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual weight (NO) =&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE (&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[weight&lt;/SPAN&gt;&lt;SPAN&gt;],&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BUSINESSUNIT&amp;nbsp;[BUID] = "NO",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PRODUCT[PRODUCT] in ("CORV","RENA")&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It returns the right sum. But how do I show the result for NO that shows the total weight of CORV and RENA separately?&amp;nbsp; If I put the measure in a table and then add product it displays all products, not the selected ones.&amp;nbsp; Also how do I make this scalable? without having to go into each measure ans change the product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In a table preferable&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BU&amp;nbsp; PRODUCTS WEIGHT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 131&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CORV&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 72&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RENA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 59&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 13:58:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2924647#M96014</guid>
      <dc:creator>SLJN</dc:creator>
      <dc:date>2022-11-23T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scalable measures and filters within measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2925084#M96056</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451827" data-lia-user-login="SLJN" class="lia-mention lia-mention-user"&gt;SLJN&lt;/a&gt; , Try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actual weight (NO) =&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE (&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[weight],&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filter( BUSINESSUNIT, BUSINESSUNIT&amp;nbsp;[BUID] = "NO"),&lt;/P&gt;
&lt;P&gt;filter(PRODUCT, PRODUCT[PRODUCT] in ("CORV","RENA"))&lt;BR /&gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 17:08:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2925084#M96056</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-23T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scalable measures and filters within measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2926522#M96158</link>
      <description>&lt;P&gt;It works! Thank you!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you know how to call on specific values in a Column?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Such as a the products for NO.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I want to build something more scalable. So when the products are changing I only change it in one place.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 09:00:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2926522#M96158</guid>
      <dc:creator>SLJN</dc:creator>
      <dc:date>2022-11-24T09:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Scalable measures and filters within measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2926680#M96172</link>
      <description>&lt;P&gt;I want to call the certain products for the business units in different measures.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;for differentiera time measures etc. Should I do the products as parameters that I call on? Or just variables? And how?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 09:48:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Scalable-measures-and-filters-within-measures/m-p/2926680#M96172</guid>
      <dc:creator>SLJN</dc:creator>
      <dc:date>2022-11-24T09:48:50Z</dc:date>
    </item>
  </channel>
</rss>

