Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
athuiraps
Frequent Visitor

Is it possible to create calculated columns using DAX functions in DirectQuery ?

 

Can we perform calucations using DAX if we use DirectQuery in Power BI New Version ?

We are working with two data sources in direct query mode and we are not able to create calculated columns based on the two tables from these two data sources.

REALTED, LOOKUPVALUE functions are not working..

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @athuiraps ,

 

You can use DAX in DQ mode, but there are some restrictions. As you mentioned, the REALTED and LOOKUPVALUE functions are restricted. You can also refer to this link for specific restrictions.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @athuiraps ,

 

You can use DAX in DQ mode, but there are some restrictions. As you mentioned, the REALTED and LOOKUPVALUE functions are restricted. You can also refer to this link for specific restrictions.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

ahmedoye
Responsive Resident
Responsive Resident

Since Direct Query does not bring in a copy of the data into Power BI, there is no way to create Calculated Column in Power BI. Except you change your storage type to Dual. And then, you wouldn't be enjoying the full reasons for using Direct Query in the first place because your model will then still take time to refresh the copy of data it will keep in Power BI.

Pragati11
Super User
Super User

Hi @athuiraps ,

 

This is nothing to do with the Power BI version. DirectQuery mode has a limitation where you can't create a calculated column. See the link with official documentation: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about

 

Screenshot 2021-07-30 at 15.26.05.png

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.