Announcements
If( !IsBlank( Trim( PlainText( LookUp( 'DataSource', Country.Value = varCountry && State.Value = varState, Q14 ) ) ) ), true, false )
If( !IsBlank( Trim( Substitute( PlainText( LookUp( 'DataSource', Country.Value = varCountry && State.Value = varState, Q14 ) ), UniChar(8203), "" ) ) ), true, false )
Len( Trim( PlainText( LookUp( 'DataSource', Country.Value = varCountry && State.Value = varState ).Q14 ) ) ) > 0
Your formula is logically correct, but it fails because Rich Text fields contain hidden characters even when the field looks empty.
!IsBlank( Trim( PlainText( LookUp( 'DataSource', Country.Value = varCountry && State.Value = varState, Q14 ) ) ) ), true, false )
Problem occurs in this case:
<p></p>
""
Even though visually it looks empty, Power Apps does not consider it blank.
Trim()
Len( Trim( Substitute( PlainText( LookUp( 'DataSource', Country.Value = varCountry && State.Value = varState, Q14 ) ), Char(8203), "" ) ) ) > 0
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290