-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple tables join queries to produce a single chart #12203
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
@altef I wonder if you are interested in this topic, or if you can help me with @ related personnel.Thank you |
You should be able to achieve this via a SQL view, or by forming your query in SQL Lab and then clicking “explore” |
@nytai Later I went to try the way you said, but at the moment our SQLLab or only the admin can operate, so in view of the scene I said, can't let business people operating on a graph, it would greatly increase the workload of the admin staff, if SQLLab open to business people, they do not have time to learn the relevant operation is grammar, this is to let a person helpless. |
@amitmiran137 I'd like to know why you closed this issue. Do we have any plans for this issue in the future? |
For the time being in order to perform sql join between tables is via a virtual dataset which can be create from the sqlLab screen. And yes you need to be familiar with SQL. I think it can be nice to have to support conjuring a join between multiple tables from the explore page but I don't see it prioritized higher with other critical taks among superset commiters . If you would like to write a detailed SIP that have accurate definitions on how it would work especially on the frontend wide (explore page) this would help promoting this cc: @villebro @betodealmeida any thoughts here ? |
I mention this briefly in #14909, but I would like to improve the semantic layer of Superset so that we can define relationships between tables within Superset. But this would be for simple many-to-one or one-to-one relationships between 2 tables only, so that if you're exploring a fact table (say, I think once we have this foundation we can start thinking about multiple joins. |
Is your feature request related to a problem? Please describe.
I'm always frustrated when the business department has requirements change, the previously prepared single Table cannot be required (N tables need to be combined). In view of this situation, data can only be processed manually at present, and then feedbacks can be made to the business department.
Describe the solution you'd like
Whether we can consider to realize this function in the future: multiple tables can be aggregated to generate a Charts.
Describe alternatives you've considered
For Chart production, you can select multiple tables and add a drop-down list for association selection (left/right/full join...)..
After the selection, the filter consolidation is passed to the back end for data query.This is just my preliminary idea.If thank you, welcome to discuss and exchange.
The text was updated successfully, but these errors were encountered: