Forum Discussion

Chris99's avatar
Chris99
Advocate III
7 years ago
Solved

Add missing tables from data source to existing dataset

Hello,

 

Is it possible to add tables from a data source (SQL Server) that weren't initially imported into a dataset?

 

I thought that in the Desktop I had seen a view that looked like the Navigation page when you initially select Enter Data, that allowed you to tick or untick tables from the existing dataset, but I might have imagined it :smileyfrustrated:

 

Thanks,

 

Chris

  • when you first connect and select multiple tables each table is actually created separately, the easy way to edit it is to go to Query editor 

     

    the easiest way to add new table is to add new data source (no need to go to Query Editor at all). I think you will see all the tables there, so you could possibly load the same table twice, but that's easy to fix

  • I think so, I didn't use the data gateways much
    you can see the dependencies in the query editor, inthe View Tab

    I expect you to see your DW at the top with arrows pointing to multiple tables (regardless whether they were created in the begining or added later)

     

    You can review the M code that got generated for different tables in Advanced Editor in the Home tab, so you can compare it for  the original and added tables - top 2 rows should be identical (if it's all same database)

     

11 Replies

  • Stachu's avatar
    Stachu
    Community Champion

    you just create a new query as a connection to SQL Server and you will have the same interface again

    • Chris99's avatar
      Chris99
      Advocate III

      StachuHi. How do you create a new one? Presumably it is in Edit Queries, but I can only see how to modify an existing one.

       

      Is there no easy way to see which tables I haven't imported?

       

      Chris

      • Stachu's avatar
        Stachu
        Community Champion

        when you first connect and select multiple tables each table is actually created separately, the easy way to edit it is to go to Query editor 

         

        the easiest way to add new table is to add new data source (no need to go to Query Editor at all). I think you will see all the tables there, so you could possibly load the same table twice, but that's easy to fix