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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ksven
Advocate III
Advocate III

Dataverse Connector Limit for Import vs. Direct Query

Hi lovely Community,

 

currently I'm in trouble with my dataverse data model in power bi.

I've a "huge" table with lot of columns and about 90K rows. If I query this table as dual or import mode I receive the following error:

Ksven_0-1618846763329.png

 

If theres a limit for the connector, fine for me, so I've changed it to direct query.

But now I've some related tables to my huge one and if I wanna filtering it my measures are crashing with this error:

Ksven_1-1618846847107.png

Without filtering of related tables, Measures working fine. With filtering not. 

 

So I'm in a devils circle 😮

 

Any suggestions?

 

Thank you in advance!

 

BR,

Sven

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Thanks for sharing the model pic, which shows it isn't a query issue but a model/DAX one.  The use of bi-directional filters is a discouraged practice, and you should consider using TREATAS() or CROSSFILTER() in your measure.  This article discusses both.

 

Relationships in Power BI and Tabular models - SQLBI

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
mahoneypat
Microsoft Employee
Microsoft Employee

Thanks for sharing the model pic, which shows it isn't a query issue but a model/DAX one.  The use of bi-directional filters is a discouraged practice, and you should consider using TREATAS() or CROSSFILTER() in your measure.  This article discusses both.

 

Relationships in Power BI and Tabular models - SQLBI

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


mahoneypat
Microsoft Employee
Microsoft Employee

How were you pulling in the CRM data (in import mode)?  The Dataverse connector?  90K rows should be no problem.  How many columns?  In any case, have you tried the approach in this article to return only the columns you need (i.e., $select=...) ?

How to retrieve OData v4 fast in Power BI - Microsoft Dynamics CRM Community


Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi @mahoneypat ,

 

yes I have tried Import Modus via Dataverse Connector.

In my table are arround 100 columns, so I guess records size limit is reached already with over 90K records.

 

Already have tried Odata / Common Data Service (Legacy) Connectors, but here I haven't name columns like of Choice Columns or related tables for record. I would have to expand or replace my IDs and this seems to me not performant.

 

I guess the other error message regarding Table.Join is cause of my Datamodel:

 

Ksven_0-1618904762323.png

I have to use the one Table as Import Query cause its for 4 ID columns to "pivot" them -> Not allowed with Direct / Dual Query.

 

I'm wondering why my Measures are working without setting a filter (calculation regarding attributes from table "Händler" = "Dealer" ) and not with a Filter of the same attribute..

 

Any ideas how to set up better?

 

BR,

Sven

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.