cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors