<?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: Calculating plan accuracy, circular reference in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1711105#M35308</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;If you don't reference a measure but use the same DAX in the other measure as a variable then it might solve the referencing problem. I do admit it is just a quick guess on my part.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 09:40:06 GMT</pubDate>
    <dc:creator>bertalan_ronai</dc:creator>
    <dc:date>2021-03-09T09:40:06Z</dc:date>
    <item>
      <title>Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1708953#M35269</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m trying to calculate plan accuracy where I can "use" orders from +-1 week to fulfill the plan. As you can see in the image below I have 13 weeks. In those 13 weeks I have plan in column C and orders in column B. Columns A, B and C are my data, the rest is what I want to calculate. In column E I have calculated the Orders +-1 week but taking into account if there are any leftover from previous period. The problem is that the leftover are reliant on Orders +-1 week. This is possible in Excel because in the&amp;nbsp;Orders +-1 week (column E) I reference leftover (column F) from the row above. So the leftover formula for line 3 is E3-C3 and the&amp;nbsp;Orders +-1 week for line 3 is&amp;nbsp;B4+IF(F2&amp;gt;SUM(B2:B3),SUM(B2:B3),IF(F2&amp;gt;0,F2,0)).&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;In Power BI it´s not possible to reference a column/measure that relies on the source column/measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal are column G, H and I using only columns A, B and C. So my main goal is column H line 15 (the total accuracy) but I would like to calculate accuracy pr. line and covered batches as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The datasource is not Excel and not in this exact format but it´s reprecentative of the data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has an idea about how to go on about solving this in Power BI I would be very greatful. I don´t care if the solution is in Power Query or DAX. You can download the Excel file with this example and another one here:&amp;nbsp;&lt;A href="https://tinyurl.com/4b55kaxh" target="_blank" rel="noopener"&gt;https://tinyurl.com/4b55kaxh&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just fiddled a little with it in Power BI so I don´t have any PBIX to share.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Ásgeir&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 12:40:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1708953#M35269</guid>
      <dc:creator>bidgeir</dc:creator>
      <dc:date>2021-03-08T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1711105#M35308</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;If you don't reference a measure but use the same DAX in the other measure as a variable then it might solve the referencing problem. I do admit it is just a quick guess on my part.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 09:40:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1711105#M35308</guid>
      <dc:creator>bertalan_ronai</dc:creator>
      <dc:date>2021-03-09T09:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1711223#M35311</link>
      <description>&lt;P&gt;I simple cannot see how that is possible. The calculation for one use the other one and vice versa. But maybe I´m just blocked in my mind after looking at it from a certain point of view for too long&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 10:12:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1711223#M35311</guid>
      <dc:creator>bidgeir</dc:creator>
      <dc:date>2021-03-09T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1714026#M35376</link>
      <description>&lt;P&gt;I have created a PBIX with the Excel imported if anyone prefers not to import then Excel data. You can find the PBIX here:&amp;nbsp;&lt;A href="https://tinyurl.com/yutx7st9" target="_blank"&gt;https://tinyurl.com/yutx7st9&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 13:21:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1714026#M35376</guid>
      <dc:creator>bidgeir</dc:creator>
      <dc:date>2021-03-10T13:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1714072#M35381</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried a measure. Check out my file please. &lt;A href="https://datascientistbudapestcom-my.sharepoint.com/:u:/g/personal/bertalan_datascientistbudapest_com/EcwG0ZGNUCRCoj3MbGpkar8BkHBkhaVoPhKBHzZG6vRiVg?e=kidxQ2" target="_blank" rel="noopener"&gt;https://datascientistbudapestcom-my.sharepoint.com/:u:/g/personal/bertalan_datascientistbudapest_com/EcwG0ZGNUCRCoj3MbGpkar8BkHBkhaVoPhKBHzZG6vRiVg?e=kidxQ2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 13:50:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1714072#M35381</guid>
      <dc:creator>bertalan_ronai</dc:creator>
      <dc:date>2021-03-10T13:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating plan accuracy, circular reference</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1721882#M35623</link>
      <description>&lt;P&gt;Good try but unfortunately not what I need. I have come to the conclusion that it´s not possible (at least with my knowledge) so I´m not going to calculate it in this way. I going for a less accurate but good enough method of looking at the total period instead of focusing on each week.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 08:34:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-plan-accuracy-circular-reference/m-p/1721882#M35623</guid>
      <dc:creator>bidgeir</dc:creator>
      <dc:date>2021-03-15T08:34:43Z</dc:date>
    </item>
  </channel>
</rss>

