Skip to main content

Hi,

 

I would like to know what are the best practices when replacing a data source from Dev to UAT or from UAT to Prod. I usually replace the data source, but if I have renamed a field I loose that changes and it have to rename them again. Is there anyway to avoid this? Is there any best practices when replacing a data source? Thanks

 

Change Data source from Dev-UAT-Prod

답변 1개
  1. 2024년 9월 14일 오전 9:50

    Hi @Ester B​ ,

     

    So, the best way to changing the data source would be preparing the data with same name of the fields to the data you are trying to change.

     

    But if that's not an option, here's another option you can take other than renaming the fields.

     

    Suppose I'm changing the EU superstore data to US superstore data, and there are some different names. (Dispatch date to ship date and delivery mode to ship mode)

     

    #1 Replace data source.

    Hi @Ester B​ , So, the best way to changing the data source would be preparing the data with same name of the fields to the data you are trying to change.After changing the data source, you will see alert mark next to the fields that name are changed.

    Screenshot 2024-09-14 at 6.40.46 PM 

    #2 Replace references

    You can replace fields like you did with data source by clicking a replace references.

    Select replace references from dispatch date.

    Screenshot 2024-09-14 at 6.41.56 PMThen, replace the field to ship date.

    Screenshot 2024-09-14 at 6.42.04 PMDo the same for the delivery mode.

    Screenshot 2024-09-14 at 6.42.20 PM 

    The results:

    You can see charts used the fields are now okay after replacing refrences.

    Screenshot 2024-09-14 at 6.42.31 PMScreenshot 2024-09-14 at 6.42.38 PM 

    This still needs some process after replacing the data source, and that's why you should make the fields' name and types as same as the previous data source that are frequently replaced.

    However, by replacing references, all related fields and fields used in calculations will be changed and this would be better way for you to manage the fields than renaming them.

     

    Hope this helps.

0/9000