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 / ALthough new is set to...
Power Apps
Answered

ALthough new is set to show department it is showing dash

(0) ShareShare
ReportReport
Posted on by 262

I want to see as dash when editing the form and during other form modes such as new and view i should see department name

Although I applied logic correctly, new and view form showing as dash only. Please see refer attached screenshots

 

c1.PNG
c2.PNG
c3.PNG
Categories:
  • eka24 Profile Picture
    20,925 on at

    Can you show the logic or the formula you applied that is not working?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • yougan Profile Picture
    262 on at

    Hi Eka,

     

    Thank you for the response. I have attached in my first thread same in screenshot called C1. Below is the logic I used.

     

    If(SharePointForm1.Mode=FormMode.Edit,"-",ThisItem.Department)

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Put one of the Departsments as the default in the formula:

    If(SharePointForm1.Mode=FormMode.Edit,"-","Accounting")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • yougan Profile Picture
    262 on at

    Hi Eka,

     

    This is working but why it is not working previous one. It supposed to work right? 

    instead of column value and I would like to declare column title itself saying ThisITem.Department

  • eka24 Profile Picture
    20,925 on at

    The earlier formula did not work because the default of the dropdown picks a text at a time. When you use ThisItem, it is not clear which of the items in the list should be selected as the default.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard