cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Champion
Community Champion

Converting MDX calculations to DAX ( Inventory ending balance)

Hi All,

 

I have the below MDX measure to calculate the ending quantity for the Inventory Value in the Inventory Transactions Table.

 

Inventory Ending Quantity:= Sum(PeriodsToDate([Date Hierarchy].[(All)], [Date Hierarchy]), [Inventory Quantity])

 

How can I convert this measure using DAX.

 

Your inputs will be greatly appreciated!

 

Thanks,

Bhavesh

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted

Re: Converting MDX calculations to DAX ( Inventory ending balance)

https://www.sqlbi.com/articles/semi-additive-measures-in-dax/



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

Highlighted
Community Champion
Community Champion

Re: Converting MDX calculations to DAX ( Inventory ending balance)

Thanks Matt!  Appreciated.

 

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

2 REPLIES 2
Highlighted

Re: Converting MDX calculations to DAX ( Inventory ending balance)

https://www.sqlbi.com/articles/semi-additive-measures-in-dax/



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

Highlighted
Community Champion
Community Champion

Re: Converting MDX calculations to DAX ( Inventory ending balance)

Thanks Matt!  Appreciated.

 

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors