Power BI: What is DAX? And Why you Should (or Should Not) Learn It
What is DAX?
Fewer Headaches
DAX Is More Than Power BI
·
Power BI
·
Microsoft Analysis Services
·
Microsoft Power Pivot for Excel
Not to mention the DAX syntax is also very
similar to Excel formulas, making the knowledge also transferable to this good
old, widely used piece of software.
It Makes You a Better Data Professional
Even though DAX can only be used in an
environment that supports it, the skill of knowing how to use DAX goes well
beyond its scope. As DAX is based on a system of different nested filter
contexts where performance is key, it changes your way of thinking about tables
and filtering data. By writing a smart piece of DAX code in the morning, you
might be able to improve the performance of some Python code you wrote earlier
in the afternoon. In other words, by learning DAX you will improve your way of
thinking on how to efficiently merge, filter, select and manipulate data.
Why You Shouldn’t Learn DAX
Although I am happy to study DAX and I
just listed some compelling reasons on why you should start using it, I must
add that DAX isn’t for everyone. These are some reasons why learning DAX
shouldn’t be a priority for you:
Steep Learning Curve
It won’t be possible to fully understand
DAX overnight. Although you can quickly start writing some basic code, it will
definitely take time to understand how the different filter contexts interact,
etc. (something of which I often still struggle with myself). You need to
decide for yourself how much you would be using it to see if it's worth putting
in the effort.
You Can Do a Lot With Alternatives
There is a lot of data manipulation
possible in DAX even before your data ends up in one of the widgets. For
anything that does not have to be dynamically generated, there are a lot of
alternatives. For example, adding some new extra columns to your dashboard can
be done just as easily with Python.
Dashboards Can Become Cryptic for
Outsiders
Adding DAX to a dashboard adds a layer of
complexity. If you are the only one building or manipulating the dashboard this
shouldn’t be a problem, but for those working in teams, it might complicate
things. I personally experienced colleagues unfamiliar with the language
getting stuck in using dashboard manipulation caused by DAX confusion.
The desire to simplify things should not be a good reason to stop moving forward, but it is something you should take into account when taking this next step in Power BI.
The 80/20 Rule:
The pareto principle or 80/20 rule states that 80% of the result can be realized with 20% of the effort and vice versa. Hardcore DAX’ers will not be happy by reading this but I believe 80% can be done without DAX.
Power BI is a powerful tool, where even beginners can create useful dashboards and insights. Of course, more advanced dashboards will absolutely rely on a big partition of DAX, but a lot of dashboards are fairly simple and can answer the users need without extensive code. This means that many for many Power BI users the investment is simply not worth it. In today’s world of freelancing platforms, 24/7 connectivity, digital nomads and whatnot, it might be easier to just outsource the DAX part of your dashboard to a professional.
Where To Start Learning DAX:
Alright, so it seems I have convinced you to dive into the world of DAX. That’s good news since a larger community benefits any software environment. At this point you are probably wondering where to start; Well, granted learning DAX is challenging but not complicated per se. It will take time and effort to understand the concepts, but nor will you need a PhD in Computer Science to get started.
No worries, I am not going to pitch you some expensive online courses. As with most (if not all) programming languages there are an abundance of free sources, documentation, videos and communities online that can teach you everything there is to know. Some useful sources I frequently visit are:
· Power BI community: the source
·
r/PowerBI: Power BI’s
subreddit
·
The official DAX documentation
·
https://dax.guide: Some
more great documentation
·
DAX Formatter: Free tool to
make DAX code more readable
Finally, aside from these free sources, I do strongly recommend reading The Definitive Guide to DAX by Marco Russo and Alberto Ferrari, which can be considered the bible of the language.
Well there you have it, I hope this article helps you decide whether or not you want to dive into the world of DAX and if so, where you can get started.
Comments
Post a Comment