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 Apps
Answered

Fomula issue

(0) ShareShare
ReportReport
Posted on by

I have a column called "Staff Name" in a form and used below formula in data card value setting. When "Addition" is selected in column RARHeadcounttype, staff name is blank.  When other value is selected for column RARHeadcounttype, stall name should be filled with staff name. 

The issue is at the beginning, this record was filled as "Backfill", so staff name was filled as well. But later the data was updated by user to change "Backfill" to "Addition", value in Staff name column didn't got removed. Do you have any idea for this issue?

 

YanLiang_0-1669954438268.png

 

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @YanLiang,

    Modify your formula as below:

    If(RARForm.MOde=FormMode.New || RARHeadcounttype.Selected.Result="Addition","",Parent.Default)
  • CU22080239-4 Profile Picture
    on at

    may I know what's the difference between "OR" and "

    ||

    "?

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @YanLiang ,

    Nothing (it means Or) - it just saves some typing and brackets.

  • CU22080239-4 Profile Picture
    on at

    Thanks, but why when I changed value from "Backfill" to "Addition" in column RARHeadcounttype, staff name didn't change to blank automatically? It keeps the value filled at very beginning.

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @YanLiang ,

    Try resetting the control OnSelect of RARHeadcounttype

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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

    Hi @YanLiang,

    Have you solved your problem?

    Have you replace the Blank() with empty string ""?

    If my formula solve your problem, please mark it as solution or provide more details if it is still an issue.

    Thanks for your cooperation.

  • CU22080239-4 Profile Picture
    on at

    Thanks Qi, it works. May I know why should use "" instead of Blank()?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard