Possible to join 20 dimension tables to a fact table, from the same SQL Server database?

Hi!

I’m trying to visualize my data in QuickSight. However, after joining all my dimension tables to the fact table I get the following error: Your database generated a SQL exception…

Now I see that that if a dataset contains joins that the maximum capacity is 1GB.

So, I’m trying to join 20 dimension tables to my fact table but they are all from the same SQL Server database. Would that still be considered as a cross-source data set? And so has maximum capacity of 1GB?

Many thanks!

Kind regards,
Niels

@Niels2 What’s the SQL Exception?

Hi @Niels2,

Did you create a separate dataset for your fact and dimension tables? When you join datasets in SPICE, each one is considered as its own source even if the underlying database for each one is the same.

I believe you’re hitting the same limitation that was discussed in these 2 topics:

1 Like

Hi @Niels2 - The details provided by @David_Wong are really useful one. Also is it possible to use custom sql and then run it and bring the data to QuickSight for reporting. You can check the performance of the sql in any sql client tool before put it in QuickSight.

Regards - Sanjeeb

1 Like

Hi!

The error that I see is: ’ This can be caused by query timeouts, resource constraints, unexpected DDL alterations before or during a query, and other database errors/ Check your database settings and your query, and try again. ’

@Niels2

You can find the SQL limitation below.

But most probably your request is being terminated by your engine.