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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
o59393
Post Prodigy
Post Prodigy

Not enough memory to create relationship

Hi all

 

I am trying to do a relationship (one to many) for a date field.

 

One table (date) contains the days of the year since 2017 (1194 rows) , and the other table (called query1) contains 830,000 rows with a column date.

 

 I got this message:

 

query1.png

 

How can i fix this?

 

thanks.

1 ACCEPTED SOLUTION

hi @parry2k 

 

It just worked, I did first the relationship from date to query1 first, and then from date to formula.

 

dateeee.PNG

 

Thanks for the help 😄

View solution in original post

5 REPLIES 5
Greg_Deckler
Super User
Super User

I'm with @parry2k that seems odd. How much memory do you have? You could try to turn off the automatic date hierarchy in File | Options and settings | Options. I have seen that blow up some data models because every date is unique.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

The file size is 62 MB, I have the PBI pro version. In the end worked, by just doing the bridge from date to query (the heaviest table), instead of table to formula.

 

Thanks!

 

 

@o59393 very odd that sequence of relationship worked. I have never see this and I'm sure @Greg_Deckler will agree on this with me. Really odd and infact would like to learn more on this. seems one off corner case.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@o59393 wow never seen that. can you put these two tables in a seperate pbix , don't add any measure and try to create the relationship. 

 

Do you have many dax measures in this model?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

hi @parry2k 

 

It just worked, I did first the relationship from date to query1 first, and then from date to formula.

 

dateeee.PNG

 

Thanks for the help 😄

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.