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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.