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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
fcerullo
Advocate I
Advocate I

DirectQuery limitations?

DirectQuery limitations?
Help me out understanding this guys... I thought Direct Query was great for really large Datasets, but, I am also running into a 1 million row limitation.
Specifically, I have a DirectQuery to two other pbi Datasets with similar structured tables. I am trying to create a new table with SELECTECOLUMNS
I do not want to Import these files if I can avoid it.
How can I build a new pbix using all of the dat from these 2 Datasets?
My DAX loks to be correct:
*(editted to add a comma and formatted using SQLBI)
NewTableName =
VAR existingTablename1 =
SELECTCOLUMNS (
ExistingTable1,
"NewColName", ExistingTable1[ExistingField],
"NewColumn2", ExistingTable1[ExistingField2]
)
VAR existingTablename2 =
SELECTCOLUMNS (
ExistingTable2,
"NewColName", ExistingTable2[ExistingField],
"NewColumn2", ExistingTable3[ExistingField2]
)
RETURN
UNION (
existingTablename1,
existingTablename2
)
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @fcerullo 

 

A limit of 1 million rows can return on any query. There's a fixed limit of 1 million rows that can return in any single query to the underlying source. This limit generally has no practical implications, and visuals won't display that many points. However, the limit can occur in cases where Power BI doesn't fully optimize the queries sent, and requests some intermediate result that exceeds the limit.

 

Premium capacities let you exceed the one-million row limit. For more information, see max intermediate row set count.

How to configure workloads in Power BI Premium - Power BI | Microsoft Learn

Tuning query limits for DirectQuery - SQLBI

DirectQuery in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @fcerullo 

 

A limit of 1 million rows can return on any query. There's a fixed limit of 1 million rows that can return in any single query to the underlying source. This limit generally has no practical implications, and visuals won't display that many points. However, the limit can occur in cases where Power BI doesn't fully optimize the queries sent, and requests some intermediate result that exceeds the limit.

 

Premium capacities let you exceed the one-million row limit. For more information, see max intermediate row set count.

How to configure workloads in Power BI Premium - Power BI | Microsoft Learn

Tuning query limits for DirectQuery - SQLBI

DirectQuery in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.