Showing results for 
Search instead for 
Did you mean: 
New Member

Gallery columns are overlapping

Hi all, 


Currently I am trying to build a timeline using Power Apps. I am working with 5 different categories, which are all in separate horizontal galleries. However, as you can see in the image, sometimes the different columns (filled with events) are overlapping. I want to change the y-position when something is overlapping. 


The location of the events are based on when the event is happening.


I have tried it with the following statement in the Y-category which doesn't seem to help: 


Circ_Icon_5.X > (Rect_Duration_5.X + Rect_Duration_5.Width) && (Rect_Duration_5.X + Rect_Duration_5.Width) < Circ_Icon_5.X,
Circ_Icon_5.Y + Circ_Icon_5.Height,
Circ_Icon_5.X > (Indicator_10.X + Indicator_10.Width) && (Indicator_10.X + Indicator_10.Width) < Circ_Icon_5.X,


What I want is that when the circle is overlapping with either the text or the colored bar, I want that overlapping item to be placed lower. Only when it is the case of overlapping. 


I hope we can find the solution together. 








Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,449)