Forum Discussion

Pbiuserr's avatar
Pbiuserr
Post Prodigy
4 years ago
Solved

Switching data sources approach

Hello,

Recently ive been making a dashboard on *.csv files. Next week we're going to switch to Snowflake. The tables and it structure (column names etc) would be different, however I'd like to ask what is going to be "okayish" approach to change data source. I mean is it okay to delete all existing columns and just click new source and connect to snowflake and start rebuilding dashboard? or this will cause some troubles because I intend on deleted tables which existed in .*csv - other than just getting rid of charts, measures)

Thank you in advance for your help

Kind Regards

  • Pbiuserr's avatar
    Pbiuserr
    4 years ago

    Hello,
    I've just deleted previous data sources, brought new one and changed references in measures using tabular editor (you can change it in loop so for instance every DimCountry[Country] reference has been changed into NewDimCountry[Country] in one execution. Took some time, less than manually but happily resolved

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Pbiuserr 
    just keep your .csv table in report as it is, create another table 2 whose source will be your snowflake make all the column in table 2 same as table 1 (ie .csv table ) once you are done with this go to advance aditor copy the query and paste it to the table 1 advance aditor, now you can remove the table 2. 
    and simply close and apply and everything is done 

  • v-luwang-msft's avatar
    v-luwang-msft
    Community Support

    Hi Pbiuserr ,

    Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

    Best Regards
    Lucien

    • Pbiuserr's avatar
      Pbiuserr
      Post Prodigy

      Hello,
      I've just deleted previous data sources, brought new one and changed references in measures using tabular editor (you can change it in loop so for instance every DimCountry[Country] reference has been changed into NewDimCountry[Country] in one execution. Took some time, less than manually but happily resolved