topic Need help getting a equation to work. in Desktop
https://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2132950#M787965
<P>Hi, i need help getting the totals of two rows in the same column to divide.</P><P> </P><P>My boss says that he would like to have this ongoing rolling visual looking out 3 months for a forecast. The two rows are created by filtering the left column down to just those 2 rows, I need to be able to get the totals to be divided so i can see a ratio of them</P><P> </P><P><SPAN>we need 2 previous months of history to calculate turns, so I guess Dec is the first month we could estimate it. here's the turns calc for Dec</SPAN><SPAN>: (Oct Net Forecast + Nov Net Forecast + Dec Net Forecast)</SPAN><SPAN>*4/(Dec S&OP Planned Inventory)</SPAN></P><P><SPAN>so it's always a rolling 3 months of Net Forecast * 4, divided by the current month's S&OP Inventory $</SPAN></P><P> </P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidCameron_0-1634141652229.png" style="width: 400px;"><img src="https://community.powerbi.com/t5/image/serverpage/image-id/612218iC4240AAD1EF54957/image-size/medium?v=v2&px=400" role="button" title="DavidCameron_0-1634141652229.png" alt="DavidCameron_0-1634141652229.png" /></span></P><P> </P>Wed, 13 Oct 2021 16:16:58 GMTDavidCameron2021-10-13T16:16:58ZNeed help getting a equation to work.
https://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2132950#M787965
<P>Hi, i need help getting the totals of two rows in the same column to divide.</P><P> </P><P>My boss says that he would like to have this ongoing rolling visual looking out 3 months for a forecast. The two rows are created by filtering the left column down to just those 2 rows, I need to be able to get the totals to be divided so i can see a ratio of them</P><P> </P><P><SPAN>we need 2 previous months of history to calculate turns, so I guess Dec is the first month we could estimate it. here's the turns calc for Dec</SPAN><SPAN>: (Oct Net Forecast + Nov Net Forecast + Dec Net Forecast)</SPAN><SPAN>*4/(Dec S&OP Planned Inventory)</SPAN></P><P><SPAN>so it's always a rolling 3 months of Net Forecast * 4, divided by the current month's S&OP Inventory $</SPAN></P><P> </P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidCameron_0-1634141652229.png" style="width: 400px;"><img src="https://community.powerbi.com/t5/image/serverpage/image-id/612218iC4240AAD1EF54957/image-size/medium?v=v2&px=400" role="button" title="DavidCameron_0-1634141652229.png" alt="DavidCameron_0-1634141652229.png" /></span></P><P> </P>Wed, 13 Oct 2021 16:16:58 GMThttps://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2132950#M787965DavidCameron2021-10-13T16:16:58ZRe: Need help getting a equation to work.
https://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2139064#M789520
<P>Power BI has no concept of row numbers or column numbers, or things like "previous row" or "previous column". You need to help it by providing index columns, and then you write your measures by including the index values in your filters.</P>
<P> </P>
<P>Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.</P>Sun, 17 Oct 2021 20:58:26 GMThttps://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2139064#M789520lbendlin2021-10-17T20:58:26ZRe: Need help getting a equation to work.
https://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2143431#M790669
<P>OK, so I have some data in multiple tables. I need to create a measure that will allow me to capture the data from a column called qty in one table and filter it by the data in the date table and look at a dynamic result that is 3 months in the future. We will then take this result and use it as a denominator in an equation with data from a larger period to get a ratio. This needs to be dynamic, so that each month it updates and pushes further out in future</P><P>I'm having the hard time getting the data to be limited to the 3rd month in the future. We are currently in October, so the 3 month future is Nov, Dec, Jan. For the numerator I use a all 3 months of planned purchses, and devide by just the existing inventory of Jan.</P><P> </P><P> </P>Tue, 19 Oct 2021 14:26:03 GMThttps://community.powerbi.com/t5/Desktop/Need-help-getting-a-equation-to-work/m-p/2143431#M790669DavidCameron2021-10-19T14:26:03Z