Forum Discussion
Semantic Link Lab - Create Data Model
- 6 months ago
Hi KarenL7,
It means a semantic model named ModelBPA already exists in that workspace, and at least one table has already been added to it. Sempy Labs (by design) reuse an existing model if the name matches, and does not auto-overwrite or merge. Your next step would be to find the semantic model named ModelBPA, delete it and re-run your code.
One important thing to note (just mentioning) is sempy_labs.create_model_bpa_semantic_model() function defaults dataset to 'ModelBPA' (if not mentioned explicitly).
Hi KarenL7,
It means a semantic model named ModelBPA already exists in that workspace, and at least one table has already been added to it. Sempy Labs (by design) reuse an existing model if the name matches, and does not auto-overwrite or merge. Your next step would be to find the semantic model named ModelBPA, delete it and re-run your code.
One important thing to note (just mentioning) is sempy_labs.create_model_bpa_semantic_model() function defaults dataset to 'ModelBPA' (if not mentioned explicitly).
- KarenL76 months agoAdvocate V
stoic-harsh Thank you for your help. Will try again