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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Anonymous
Not applicable

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

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors