cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
airwolf39
Resolver II
Resolver II

Any way to use dax in the service or 3rd party tool?

Hi guys,

 

Is there any way for me to use dax to create calculated columns before the data is loaded into the pbix file? I can do some data transformations using dataflows but the M Query language is not robust enough to solve the complicated measures that I am doing.

 

Are there any 3rd part tools that act as a middle layer where I can use dax to make those calcuated columns? Obviously I would need to be able to connect tables together when writing those measures. I can use SQL, but I havent been able to use MDX to calculate what dax is able to do. 

3 REPLIES 3
Sahir_Maharaj
Community Champion
Community Champion

To my knowledge, I am not aware of any third-party tools that act as a middle layer to use DAX to create calculated columns before the data is loaded into the Power BI Desktop file.

 

You can try using Power Query, dataflows, or a data integration tool like Microsoft Power Automate or Microsoft Power Apps to bring the data into Power BI Desktop, then use DAX to create calculated columns.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj

Data Scientist | Data Engineer | Data Analyst | AI Engineer

➤ Website: https://sahirmaharaj.com

➤ Email: sahir@sahirmaharaj.com

➤ Lets connect on LinkedIn: Join my network of 10K+ professionals

➤ Want me to hire me? Lets chat about how I can add value to your business!

➤ Follow me on Medium: Sharing my knowledge about data science, artificial intelligence and tech


Sahir_Maharaj
Community Champion
Community Champion

As for using DAX before the data is loaded into the Power BI Desktop file, you can use Power Query or dataflows to perform the data transformations, then use DAX to create calculated columns based on the transformed data.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj

Data Scientist | Data Engineer | Data Analyst | AI Engineer

➤ Website: https://sahirmaharaj.com

➤ Email: sahir@sahirmaharaj.com

➤ Lets connect on LinkedIn: Join my network of 10K+ professionals

➤ Want me to hire me? Lets chat about how I can add value to your business!

➤ Follow me on Medium: Sharing my knowledge about data science, artificial intelligence and tech


Sahir_Maharaj
Community Champion
Community Champion

Hello @airwolf39 

 

DAX can be used to create calculated columns after the data is loaded into Power BI Desktop. You can use DAX formulas to create calculated columns and perform data transformations, which can be more robust than the M language used in dataflows.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj

Data Scientist | Data Engineer | Data Analyst | AI Engineer

➤ Website: https://sahirmaharaj.com

➤ Email: sahir@sahirmaharaj.com

➤ Lets connect on LinkedIn: Join my network of 10K+ professionals

➤ Want me to hire me? Lets chat about how I can add value to your business!

➤ Follow me on Medium: Sharing my knowledge about data science, artificial intelligence and tech


Helpful resources

Announcements
March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Power BI Dev Camp Session 32

Ted's Dev Camp - March 30, 2023

In this session, we'll examine important design issues and decisions that arise when developing with Power BI embedding.

Top Solution Authors