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
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
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 Kudoed Authors