Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, is it possible to add columns via DAX instead of PowerQuery on Datamart?
Hi @FrancisMarquez ,
When the connection mode is Live Connection, model actions like build relationships, create calculations etc. are not supported in Power BI for the data source is a tabular model that can be used by Power BI directly. For such kind of data source, calculations like create Calculated columns, measures are completed in the data source. When you live connect to Datamarts, these limitations are applied as well. Fortunately, Power BI provides the ability to change the connection mode of Datamarts from Live Connection to Direct Query if you would like to calculate on connected model. With the Direct Query mode, you could build your Calculated columns and relationships.
Before the switch, you need enable DirectQuery for PBI datasets and AS in the Preview features and restart your Power BI Desktop.
Click on Make changes to this model
Then, the connection mode is Direct Query. You could create Calculated column or build relationships in this environment.
However, there still some considerations when creating Calculated columns with Direct Query mode. For more details, you could refer to Use DirectQuery in Power BI Desktop - Power BI | Microsoft Docs.
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
22 | |
18 | |
11 | |
11 | |
10 |
User | Count |
---|---|
35 | |
28 | |
18 | |
18 | |
14 |