Forum Discussion
Closing Blance calculation
Hi All,
I am new to DAX and trying to create a pivot report through Power BI, where month end closing balance is calculated by subtracting Fcast and adding Transit and On order quantity of respective month and previous month closing stock. see the sample below.
will appreciate your help
Regards,
Asad
9 Replies
- Greg_DecklerCommunity Champion
AsadAliKhan If that is a representation of your source data then unpivot your month columns in Power Query.
- AsadAliKhanFrequent Visitor
Hi Greg,
Thank you for interest, No there are different tables for each measure. If you sahare your email I can forward you.
Thank you Once again.
Asad
- Ashish_MathurSuper User
Hi,
In an MS Excel file, share your data and in another tab, show your expected result with your Excel formulas.
- AsadAliKhanFrequent Visitor
Thank you, Ashish
Please see the link below
https://1drv.ms/x/s!ApmDRAP7RNB2iHWN1hOflBBSFY6Y?e=g4GJx3
Regards
Asad
- Ashish_MathurSuper User
Hi,
I do not see any formulas in row 13 of the Result worksheet. Also, why are so many sheets required in the workbook?
- v-luwang-msftCommunity Support
Hi
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien