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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors