hi all, I’m following this guide <https://help.goo...
# gd-beginners
hi all, I’m following this guide https://help.gooddata.com/doc/enterprise/en/dashboards-and-insights/analytical-designer/visualize-your-data/create-insights#CreateInsi[…]mmendations to create Analytical Designer insights to visualize my data. After I save a lot of insights and used them in Dashboard, I realize that I need to change relationships between datasets and move some attributes to other datasets to correct metrics and data integrity. I’m not sure if these change will impact to saved insights or not. Please advice me.
Hello Nam, the best way to update your LDM is to follow the steps here: https://help.gooddata.com/pages/viewpage.action?pageId=86789636 There are always some implications when changing the Logical Data Model (LDM) in “living” workspace - cascading consequences with existing metrics/insights/reports which are defined by the relations within the LDM. Some changes may cause metrics to become unusable as well as filters. Please also note that any changes in your LDM should be reflected in your data-source tables/views so the correct mapping is preserved.
thanks for your answer, Julius. It’s a bit painful for me to update saved insights in my report 😢 after I change LDM and data source
Hi Nam, it actually depends what those changes in the LDM are. In some cases you might very well stay safe. Evolving the LDM as your project evolves and grows is pretty standard thing in GoodData. Thr LDM and insights actually uses internal IDs for all objects so even if you rearrange things a bit, it might not affect your reporting if you do it in the right way. • Obviously if you for example try to drop some attributes/facts which you are using in the insighta, this would require to also drop the insights. • On the other hand, adding new attributes or datasets should be absolutely safe. • For moving attributes between datasets - this depends on how you do it - what is the semantic. For example it should be completely OK to move one attribute from a dataset to another dataset that is "to the left" of the original one (i.e. take "Customer" attribute from your "Order" dataset and move it to new "Customer" dataset which is connected to the "Order"). In general - if you do not drop something, you should be safe in a sense that no metric or insight should dissappear. The worst case is some of them might become not computable if you make the changes structurally not compatible to the calculations (i.e. if you would move "customer" to dataset not connected to "order", an insight with "order amount" and "customer" in it would no longer work. Also note that some changes might require you to reload the data and make sure you maintain the correct mapping to the source data.
Thanks for clearly explanation, Michal. I will try to limit the change to still keep saved insight. You’re rock 🙂
Hello @Nam Phan, let me just add that the LDM modeler informs you about the impact of your changes. Additional information can be found when you click on items in the “Summary” section.
Awesome! thanks so much 🙂