Hi @Guruprasanna ,
Based on the issue tha you menitoned, I have made a test, and the issue is confirmed on my side.
When generating an app from a CDS Entity, the "Two Options" type column in CDS Entity would be generated into Dropdown box within the Edit form automatically.
If you want to use Toggle control to represents the "Two Options" type column within your Edit form instead of using Dropdown box, as an alternative solution, you could consider remove the Dropdown box from the "Two Options" data card, then add a Toggle control within it.
I have made a test on my side, please take a try with the following GIF screenshot:
On your side, you need to unlock the "Enable subcategory" data card within your Edit form firstly. Then remove the Dropdown box from the "Enable subcategory" data card, and add a Toggle control within it.
Set the Update property of the "Enable subcategory" data card to following:
If(Toggle1.Value=true, 'IsOverdue (TaskLists)'.Yes, 'IsOverdue (TaskLists)'.No)
On your side, you should type:
If(Toggle1.Value = true, 'Enable subcategory (YourEntityName)'.Yes, 'Enable subcategory (YourEntityName)'.No)
Note: The "Two Options" type column in CDS Entity would be recognized as a Option Set type column within PowerApps. So when you specify value for the "Enable subcategory" column, you should reference values from the "Enable subcategory" column like 'Enable subcategory (YourEntityName)'.Yes.
More details about referencing values from Option Set type column within PowerApps app, please check the following blog:
https://powerapps.microsoft.com/cs-cz/blog/option-sets-and-many-to-many-relationships-for-canvas-apps/
Best regards,