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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.