Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Cannot delete a Dataverse Choice Column in MDA

(0) ShareShare
ReportReport
Posted on by 58

I have a custom Choice column used on a few tables, which needs to be removed (not used)

On every table I have removed the column/field from all views and forms.

However when I try to delete the column, I cannot due to a relationship dependency.  Although no dependent table is displayed.
Why would a relationship depend on a Choice column? And how to resolve in order to delete the column?

In my case there is a choice field called Fund which is the  no longer required  (a Fund is a pool of funding which has a particular focus). 
A choice field Fund  has been added to on two tables

  • a Projects table (each project is for a particular Fund)
  • an Allocations table (details of the funding allocations to Projects). 
    This table also happens to have the Fund choice field, in other words a funder will specify their Focus or Fund which is stored when an allocation is created.

The Allocations Table also has a lookup column for selecting the relevant Project which has created a relationship (each allocation is for one project and one project can have many allocations).

 

When I try to delete the Fund choice field from the Allocations table the dependency lists the 'project' entity relationship although no dependent table is shown - see clip below

Wendy_Lumsden_1-1688541022702.png

If I view the above relationship under the Relationships screen, it is named 'Projects' so I am concerned that deleting this relationship will delete the required lookup and relationship with the Projects table.


Similarly when I try to delete the Fund choice field from the Projects table a dependent relationship is also shown as preventing the delete - see clip below:

Wendy_Lumsden_0-1688540865519.png

 

The wierd part is why would a choice column have a dependent entity relationship?

Categories:
  • Wendy_Lumsden Profile Picture
    58 on at
    Re: Cannot delete a Dataverse Choice Column in MDA

    Thank you Gulshan!  (😀 whilst having toast!)
    So grateful to all the folk who regularly contribute - ya'all rock!!

  • gulshankhurana Profile Picture
    1,395 Super User 2025 Season 1 on at
    Re: Cannot delete a Dataverse Choice Column in MDA

    Thanks Wendy. 

     

    Apologies for a short reply earlier as I was getting ready for work and was accessing the forum on mobile whilst having my toast. I'm sorry I didn't explain that the magic happens in classic designer but I'm glad you managed to figure that out. It is indeed a pain that the modern designer doesn't give clarity and doesn't allow us to go directly to the dependencies. There was an idea submitted on idea forum some time ago regarding this and I posted on my LinkedIn asking people to upvote that idea. Please add your vote too. Here's the link to that:
    https://ideas.powerapps.com/d365community/idea/5239bf30-53c8-42b8-aea6-c1185938c429

     

    Thanks.

     

    Gulshan

  • Verified answer
    Wendy_Lumsden Profile Picture
    58 on at
    Re: Cannot delete a Dataverse Choice Column in MDA

    Hi @gulshankhurana 

     

    Thank you so much for your prompt reply.  I am not sure where you can find (or how to create) the field mapping for a relationship in the Modern View but that is exactly what the issue was!

    Thanks to @Z_Lukowski  I figured this out from his reply to the following post:  Can't delete a table. Where did these relationship... - Power Platform Community (microsoft.com)

     

    So I followed his instructions as follows and used the Classics View:

    1) On Top Left part of the screen Click the cog Icon

    2) Advanced Settings

    3) Customization Column -> Solutions (assuming youve already pulled your table into ANY solution

    4) Click on your solution

    5) Find your Table (it will be called Entity)

     

    Then I found the column to delete and when I received the error message I clicked on the links provided in the error message to see dependent relationship.  In the Classic view you can now click on the relationship (cannot in Modern View) and then view the field mappings which did indeed include the Fund choice field.

    Thank you so much to all the contributors to this platform who have helped resolve MANY issues for me 🙂 

     

  • gulshankhurana Profile Picture
    1,395 Super User 2025 Season 1 on at
    Re: Cannot delete a Dataverse Choice Column in MDA

    Please check in the entity relationships if there is any field mapping that exists involving Fund.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard