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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
shona
Frequent Visitor

Direct Query allowed functions

Is there a list of functions allowed in direct query?

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion


@shona I am not aware of any such list but you do have option in power bi desktop to allow unrestricted measures via DirectQuery and that I believe should allow to use most of the functions.

 

Capture.PNG

 

 

 

 

View solution in original post

7 REPLIES 7
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

Hi @shona,

This article lists the supported functions in Power BI Desktop. Reference: DAX basics in Power BI Desktop.

However, a set of above DAX functions have been disabled by default in DirectQuery mode in order to avoid performance issues with these functions. Once you select “allow unrestricted measures via DirectQuery” option as other post, you are able to use all the functions. For more details, please check this article: https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/ .

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Not all functions can be used; the DAX PATH function cannot be used in DirectQuery models.

ankitpatira
Community Champion
Community Champion


@shona I am not aware of any such list but you do have option in power bi desktop to allow unrestricted measures via DirectQuery and that I believe should allow to use most of the functions.

 

Capture.PNG

 

 

 

 

I know this is an old thread but I think the question is still a valid one. As someone new to Power BI, I found myself often spending time on a solution only finding out much later that a particular function is not supported in Direct Query mode. 

 

It's unfortunte that one cannot find a list of Direct Query allowed functions. However the following link seems to return all Dax function that are somewhat not supported in direct query mode:

 

https://learn.microsoft.com/en-us/search/?scope=DAX%20formula%20language&terms=%22This%20function%20...

 

How this is helpful to someone.

@ankitpatira I don't have this option though. Any thoughts on why and workaround?

I would like to use functions like Trim in DirectQuery mode and I'm not able for the moment.

Thanks!

I solved this by adding this line to my oracle query in M

Where table.field = ' " & Parameter_Name & " '#(lf)

I have the same issue.  The above option is not available.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.