Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Guys,
I am having issue with opening balance dax function.
I am using this calculation for opening balanace which is not working correctly.
Open bal =
Kindly help !
Thank you
Solved! Go to Solution.
Hi @shilpa288 ,
According to your statement, I think first [OpenBal] is equal to 0 and other [OpenBal]s is calculated based on [Clos_Bal]. [Clos_Bal] is calculated based on the [Clos_Bal] before. As far as I know , Power BI doesn't support us to calculate looping by Dax. I suggest you to calculate this by M code in Power Query.
List.Generate() should work. Here is a video about easying looping in Power Query.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @shilpa288 ,
According to your statement, I think first [OpenBal] is equal to 0 and other [OpenBal]s is calculated based on [Clos_Bal]. [Clos_Bal] is calculated based on the [Clos_Bal] before. As far as I know , Power BI doesn't support us to calculate looping by Dax. I suggest you to calculate this by M code in Power Query.
List.Generate() should work. Here is a video about easying looping in Power Query.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi RicoZhou,
Thank you for your reply.
Yes, DAX doesn't support and I used Power query to do this .
Thank you for your help .
Hi , Is there any way to achive this using Dax?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |