Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
Is it a good idea to delete all existing DAX commands in a Power BI dashboard environment and replace them with SQL code (in SQL server)?
Is this much easier to maintain and do I keep the same flexibilty (drilling, filtering, analysing) in my reports?
Thanks
@Artefact ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
Hello Amitchandak,
I can't give you an example . It's about the global priciple : Make a dashboard without any DAX, but do all calculations in SQL in SQL server, where SQL server is the source for the dashboards. So for example (there you go....)
eg "Calculate[profit];Company="Acme" -> write SQL code to get the same result
eg "SUMX[Sales];sales[profit] * sales[cost] -> write SQL code to get the same result
and so on.
Does it make sense to write all calculations in SQL?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |