Forum Discussion

Marounnsader's avatar
Marounnsader
Frequent Visitor
6 years ago
Solved

SQL VS DAX mental Set

Hi all ive been hired to lead a team in BI & Analytics, the current team use SQL to create all measures and use PowerBI as visualization tool, and rarely use DAX for that, saying that its "better" b...
  • MattAllington's avatar
    MattAllington
    6 years ago

    My view is you do all *necessary* transformations in SQL, and then write measures in Power BI to do the calculations. You said your team does everything in SQL and avoids measures - that is the difference between the two.  My view is you are better to shape the tables in SQL if you have pros that can do this, rather than do it in Power Query. You should generally load the lowest level of detail needed into PBI and do not preaggregate the data (something SQL pros love to do). Hope that is clearer.