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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Brutus97
Frequent Visitor

Is it possible to do Value.NativeQuery in direct query mode in Power BI on online Dataverse table?

Hello,

 

I would like to use direct query in my online Dataverse environment. To keep it the performance in shape, I want to filter the data. So I don't want the whole table in Direct Query.

 

I 've read that there are possibilities with Value.NativeQuery. But I can't get it working on Direct Query... 

 

Is this possible? What should be the correct Syntax for this?

 

Thank you in advance!

 

I've tried the following:

 

let
Bron = CommonDataService.Database("???????????.crm4.dynamics.com"),
Filter = Value.NativeQuery(Bron{[Schema="dbo",Item="account"]}[Data], "SELECT top 10", null, [EnableFolding = true])
in
Filter

 

1 REPLY 1
sevenhills
Super User
Super User

https://www.sharepointed.com/2022/09/filter-a-power-bi-source-before-importing/

https://learn.microsoft.com/en-us/power-query/connectors/dataverse

 

Check this articles and see ... 

 

let
   Bron = CommonDataService.Database("{crminstance}.crm.dynamics.com",[CreateNavigationProperties=false]),
   Filter = Value.NativeQuery(Bron, "SELECT top 10 * from dbo.account", null, [EnableFolding = true])
in
   Filter

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors