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 / Vertical & Horizontal ...
Power Apps
Unanswered

Vertical & Horizontal Headers in Gallery

(0) ShareShare
ReportReport
Posted on by 3

I'm looking for a way to display some information that requires both vertical and horizontal headers for a gallery table.

 

My app stores information on clothing styles. One function of the app is supposed to capture garment measurements that change during the development process. And it's best to get a view across the different stages to see where the changes are.

 

In short, a gallery that displays vertical and horizontal headers/labels like this:

 

Screenshot 2022-03-14 232129.png

 

Eventually would like to add a row or column, but ignore that for now. Just trying to get the data format correct.

 

So far I've tried using nested galleries, by having a horizontal gallery with the version (sample 1, sample 2, final), and a nested vertical gallery with the measurements that references the version.  I can get columns 2-4 from the above image, but not the first column with row headers.

 

This is using a SP list with the following format:

 

Style | Version | Measurement Name | Measurement Value 

 

Style would be linked to the "Styles" parent table.

 

Is this even possible?  Any suggestions?

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Have you considered using a table rather than a gallery?   Or you can 'mock' the top axis labels by adding a colored rectangle and adding labels.  You can add labels inside the gallery to make your left hand labels.

  • Imadit Profile Picture
    3 on at

    Thanks @JR-BejeweledOne .

     

    Ultimately, I'd like to make each cell/value editable as an input, which is why I'm going for a gallery.  My understanding is a table is just for output?

     

    The goal was to have both axes dynamic.  The screenshot above is a bit simplistic. The left hand labels will change for say shirt/pants/jacket.  Also, Sample 2 might have an extra measurement at times, so will need an extra row, and I want to make sure the right value ties up with the correct measurement label.

     

    But in the absence of a way to achieve both as being dynamic, I guess I can create static labels along the top as the sampling process is fairly similar every time, and nest off the left hand labels.

     

    But is there a way to reference static labels from within a gallery?

     

    So there'd be a nested gallery feeding off the left hand side labels.  But then a column would still have to reference Sample 1, Sample 2, etc.  Can I reference those outside labels for each column, from inside a gallery?

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard