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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Relationship (Direct Query)

Hi,

 

I am unable to create relationship with the fact table which is in the server (Direct Query)

 

It shows as blank. Help Appreciated! 🙂

 

mandar_manik_1-1640513871383.png

 

 

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

You need to set the tables storage mode to dual so that power bi treats it as a composite model:

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-storage-mode#constraints-on-direct... 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

I wonder how many rows are in your fact table, there is a one-million-row limitation for direct query mode.

Please have a good look at this document to know more about the limitations for direct query.

  • There is a one-million-row limit for returning data when using DirectQuery. The limit does not affect aggregations or calculations used to create the dataset returned using DirectQuery, only the rows returned. For example, you can aggregate 10 million rows with your query that runs on the data source, and accurately return the results of that aggregation to Power BI using DirectQuery as long as the data returned to Power BI is less than 1 million rows. If more than 1 million rows would be returned from DirectQuery, Power BI returns an error.

Best Regards,
Community Support Team _ kalyj

 

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

bcdobbs
Community Champion
Community Champion

You need to set the tables storage mode to dual so that power bi treats it as a composite model:

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-storage-mode#constraints-on-direct... 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors