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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Incompatible types for...
Power Apps
Answered

Incompatible types for comparison. Text, Boolean

(0) ShareShare
ReportReport
Posted on by 441

Hello,

 

I'm having an issue with a comparison. I'm trying to update a single text field called runtheflow that displays Yes if another one of my (yes/no) fields called IsDraft gets updated. I'm not sure of the correct type to use to resolve this comparison warning.

This is from Reza's video to avoid infinite loops.  

In his case he used a choice field but in my case I need to use a yes/no field. Worst case I could make a choice field with yes/no but I'm hoping there's a simple way to resolve this.

 

MN003_0-1657136791640.png

MN003_1-1657137264679.pngMN003_2-1657137288713.png

 

 

I appreciate any guidance, thank you.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @MN003 

    Your DataCardValue13.Selected.Value is going to be Text.  The IsDraft is boolean (true or false).

    Is your formula you are showing with the error in a label or, just where is it and what are you trying to do there?

  • MN003 Profile Picture
    441 on at

    Hi @RandyHayes,

    Ah yes, sorry about that. My formula is within the default property of the "runtheflow" datacard. I would like for the value or text to display Yes if the IsDraft radio selection is yes/true and No if the IsDraft selection is no/false. My goal is to use the IsDraft field similar to the way Reza did so that my workflow only triggers/runs to the end when IsDraft is no/false. 

  • Verified answer
    MN003 Profile Picture
    441 on at

    I was able to work around this 🙂 @RandyHayes thank you for chiming in. I'm good to go now.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @MN003,

    Could you please mark your reply as answer to help more users?

    Thanks for your cooperation.

  • MN003 Profile Picture
    441 on at

    Hi @v-qiaqi-msft,

     

    Sure, I marked my last reply as a solution. Thanks again.

     

    Best,

    MN003

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard