<?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 Rule of three and Estimation Problem in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rule-of-three-and-Estimation-Problem/m-p/3325050#M157483</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a table with &amp;nbsp;Date &amp;nbsp;Store &amp;nbsp;StoreType and Cost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store &amp;nbsp;Date &amp;nbsp;StoreType Sales &amp;nbsp;Cost&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mine &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; known &amp;nbsp;known&lt;/P&gt;&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;notmine &amp;nbsp; &amp;nbsp; &amp;nbsp;known &amp;nbsp;unknown&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;and so on &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I use this table to create another table by grouping sale&lt;/P&gt;&lt;P&gt;the table look like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;Sales &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cost&lt;/P&gt;&lt;P&gt;10000 (avg 5000-15000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5000&lt;/P&gt;&lt;P&gt;20000 (avg 15000-25000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 7000&lt;/P&gt;&lt;P&gt;30000 (avg 25000-35000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&lt;/P&gt;&lt;P&gt;40000 (avg 35000-45000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 15000&lt;/P&gt;&lt;P&gt;50000 (avg 45000-55000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 20000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is Some Store is not mine &amp;nbsp;I only know their sales not cost&lt;/P&gt;&lt;P&gt;So I want to &amp;nbsp;create measure that take Sales for the mentioned Store as input and calculate thier cost base on rule of three or any suggestion. &amp;nbsp;&lt;/P&gt;&lt;P&gt;for example &amp;nbsp;Sales = 15000 output cost should be 6000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sales = 48000 output cost should be 19000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However Table Sales is updated every month, so I cant fix number in Table 2 &amp;nbsp;and &amp;nbsp;need the measure to calculate cost for other store based on my store cost &amp;nbsp;and sales &amp;nbsp;for month by month. (use JAN data for calculate JAN cost).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance and sorry for any mistyping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 11:01:14 GMT</pubDate>
    <dc:creator>ViewP</dc:creator>
    <dc:date>2023-07-11T11:01:14Z</dc:date>
    <item>
      <title>Rule of three and Estimation Problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rule-of-three-and-Estimation-Problem/m-p/3325050#M157483</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a table with &amp;nbsp;Date &amp;nbsp;Store &amp;nbsp;StoreType and Cost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store &amp;nbsp;Date &amp;nbsp;StoreType Sales &amp;nbsp;Cost&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mine &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; known &amp;nbsp;known&lt;/P&gt;&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;notmine &amp;nbsp; &amp;nbsp; &amp;nbsp;known &amp;nbsp;unknown&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;and so on &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I use this table to create another table by grouping sale&lt;/P&gt;&lt;P&gt;the table look like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;Sales &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cost&lt;/P&gt;&lt;P&gt;10000 (avg 5000-15000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5000&lt;/P&gt;&lt;P&gt;20000 (avg 15000-25000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 7000&lt;/P&gt;&lt;P&gt;30000 (avg 25000-35000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&lt;/P&gt;&lt;P&gt;40000 (avg 35000-45000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 15000&lt;/P&gt;&lt;P&gt;50000 (avg 45000-55000) &amp;nbsp; &amp;nbsp; &amp;nbsp; 20000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is Some Store is not mine &amp;nbsp;I only know their sales not cost&lt;/P&gt;&lt;P&gt;So I want to &amp;nbsp;create measure that take Sales for the mentioned Store as input and calculate thier cost base on rule of three or any suggestion. &amp;nbsp;&lt;/P&gt;&lt;P&gt;for example &amp;nbsp;Sales = 15000 output cost should be 6000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sales = 48000 output cost should be 19000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However Table Sales is updated every month, so I cant fix number in Table 2 &amp;nbsp;and &amp;nbsp;need the measure to calculate cost for other store based on my store cost &amp;nbsp;and sales &amp;nbsp;for month by month. (use JAN data for calculate JAN cost).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance and sorry for any mistyping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 11:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rule-of-three-and-Estimation-Problem/m-p/3325050#M157483</guid>
      <dc:creator>ViewP</dc:creator>
      <dc:date>2023-07-11T11:01:14Z</dc:date>
    </item>
  </channel>
</rss>

