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 / Field position based o...
Power Apps
Answered

Field position based on another field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have the following problem:

 

Screen2.JPG

 

I have this Sharepoint list. Now I would like to add a dividing header ( as you can see in the screenshot named "CC/Inside Sales tölti ki") which separates the fields from each other. 

 

Right now, there is an actual field behind that header (Component) and I just moved this header on top of it, so it covers the field. The problem is, when I open up the form from Sharepoint, this header sometimes moves away a bit, and part of the field behind is displayed, which doesn't look professional. 

 

So my questions are:

1) Is there any other way to insert a separating Header between certain rows of fields?

2) If not, I can go with this idea that I used, but then I would like to set the position of the Header the same, as the position of the field behind it, therefore I assume it will not move. 

 

I hope I explained well.

 

Thanks

Peter

Categories:
  • Lukas1 Profile Picture
    190 on at

    Hi @Anonymous 

     

    not sure if I understand your issue correctly but if you want to define the position of an element "B" based on the size of another element "A" you can use the Width and Height properties of element A in the X and Y properties of element B

     

    Example: "Field_B" should be positioned right below "Field_A":

     

    Y property of Field_B:

    Y = Field_A.Y + Field_A.Height

     

  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    @Anonymous ,

    Add a custom card and set the width to the same as the form. Put it in the order required and then put a label inside it with your heading.

     

    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.

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

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi WarrenBelz,

     

    Yeah, that did it, thanks a lot for the help! 🙂

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard