Hi @David -
You can refer to these two links.
https://www.quora.com/What-is-the-difference-between-DAX-and-MDX
https://www.wiseowl.co.uk/blog/s1450/dax-versus-mdx.htm
Best regards,
Percy Tang
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I learned that there are two query languages, MDX and DAX. I want to ask which features they apply to and what is the difference?
Is it correct to add SSAS tag? Please let me know if this is not the correct tag.
Hi @David -
You can refer to these two links.
https://www.quora.com/What-is-the-difference-between-DAX-and-MDX
https://www.wiseowl.co.uk/blog/s1450/dax-versus-mdx.htm
Best regards,
Percy Tang
what is the difference?
The query languages MDX and DAX are very different. They have similar logic, but completly different syntax.
What to learn? Depends on which type of SSAS (yes, the tag is right) you are going to use.
SSAS in classic multidimensional mode = MDX
SSAS in-memory tabular mode = DAX
Whereby tabular also supports MDX queries.
MDX is mainly for querying OLAP databases, which are all about multidimensional data models.
It's great for handling data in cube formats, and if you're diving into measures, dimensions, and hierarchies in a cube, MDX is your go-to.
DAX is more for tabular models, like what you'd find in Power BI or SSAS Tabular.
It's super for creating custom columns and measures in Power BI, and it's a bit more intuitive if you're coming from an Excel background.