cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Change Collection column data type

Hi,

I'm fetching data from my database using the Filter function.

There's a column "customer" that is a Boolean type in the database, but in the application I want to change it to String. Is this possible? I've tried searching but came up with nothing.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Change Collection column data type

You can add a column to the filtered results that show the string version of the customer boolean column.

 

Example:

AddColumns(Filter(...), "CustomerStringValue", Text(customer))

 

This creates a new column called "CustomerStringValue" that will have the text value of the customer boolean column.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Change Collection column data type

You can add a column to the filtered results that show the string version of the customer boolean column.

 

Example:

AddColumns(Filter(...), "CustomerStringValue", Text(customer))

 

This creates a new column called "CustomerStringValue" that will have the text value of the customer boolean column.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Change Collection column data type

Thank you!

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,037)