Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
NorahTran97
Frequent Visitor

Issue with Data source setting

Hi All,

Does anyone have any idea about the issue below? I tried changing the source data, which is a DirectQuery connection to another Semantic Model, but encountered this issue.

 

NorahTran97_0-1761040810640.png

 

1 ACCEPTED SOLUTION
v-veshwara-msft
Community Support
Community Support

Hi @NorahTran97 ,

Thanks for reaching out to Microsoft Fabric Community.

The error “A child can’t be both removed and included” generally occurs when the metadata structure between the connected semantic model and the report becomes inconsistent - for example, when tables, fields, or relationships are modified or removed in the model after it was connected in Power BI Desktop.

 

As you mentioned that you’re unable to edit or add new tables from the same semantic model, please try the following steps:

  1. Open Power BI Desktop, go to File > Options and settings > Data source settings, and select Clear Permissions for the semantic model connection.

  2. Close and reopen the file, then reconnect to the semantic model from Get Data > Power BI Datasets.

  3. If the issue persists, try connecting to a copy of the same dataset published in a separate workspace to rule out any corruption or broken reference in the metadata.

Hope this helps. Please reach out for further assistance.

Thank you.

View solution in original post

6 REPLIES 6
v-veshwara-msft
Community Support
Community Support

Hi @NorahTran97 ,

Just checking in to see if you query is resolved and if any responses were helpful.
Otherwise, feel free to reach out for further assistance.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @NorahTran97 ,

Thanks for reaching out to Microsoft Fabric Community.

The error “A child can’t be both removed and included” generally occurs when the metadata structure between the connected semantic model and the report becomes inconsistent - for example, when tables, fields, or relationships are modified or removed in the model after it was connected in Power BI Desktop.

 

As you mentioned that you’re unable to edit or add new tables from the same semantic model, please try the following steps:

  1. Open Power BI Desktop, go to File > Options and settings > Data source settings, and select Clear Permissions for the semantic model connection.

  2. Close and reopen the file, then reconnect to the semantic model from Get Data > Power BI Datasets.

  3. If the issue persists, try connecting to a copy of the same dataset published in a separate workspace to rule out any corruption or broken reference in the metadata.

Hope this helps. Please reach out for further assistance.

Thank you.

Hi @NorahTran97 ,
Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.
Thank you.

nandic
Super User
Super User

Hi @NorahTran97 ,

Just to confirm, you have a report targeting Semantic model which is published to Power BI Service.
Now, you tried to retarget it to another semantic model which is also on Power BI Service?

If that is the case, i recommend that you install ALM Toolkit. Is is free, amazing tool used to easily compare metadata of published semantic models.

It will find differences between these two semantic model.
Based on description, in new semantic model you are missing fields/tables which are used in old semantic model or are created on a report level.

Cheers,
Nemanja

Hi @nandic 

 

I’m trying to edit the current data source to add additional tables from the same semantic model, but I’m unable to make any changes or perform any actions related to the existing semantic model.

ajaybabuinturi
Memorable Member
Memorable Member

Hi @NorahTran97,

 

I found the solution for the same issue in the below community thread.
https://community.fabric.microsoft.com/t5/Developer/A-child-can-t-be-both-removed-and-included-lakeh... 

 

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors