web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Struggling to convert ...
Copilot Studio
Unanswered

Struggling to convert the data type of a variable

(1) ShareShare
ReportReport
Posted on by
I have a flow that only takes string but when asking questions in copilot the variable is literally a choice type. 
I tried creating a string variable and then setting it to the choice variable but its not allowed. 

I tried to create a formula Text() but the variable is not found in the intellisense. 
Categories:
I have the same question (0)
  • Verified answer
    Mahesh Chintha Profile Picture
    158 on at
    Struggling to convert the data type of a variable
    You should be able to convert the choice to string using Text(Topic.<variable name>) if the variable is declared at the Topic level. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 265 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 257 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 84 Super User 2025 Season 2

Last 30 days Overall leaderboard