cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Group Columns

Hi everyone,

 

I have a question, Is it possible to make a dropdown by groups? for example, in excel i can group many rows, like the pics.

pic1.pngpic2.png

I would like to do that in a table, like this: 

pic2.png

Is it possible? also group the same names in the column "Supervisor"

 

I'm going to waiting for your comments,

 

Best regards.

 

 

4 REPLIES 4
Super User III
Super User III

In your first request, I suggest you use 2 Galleries. One for the Group and the other for the expansion.

 

Gallery 1 Items

Distinct (Datasource,ColumnName)

 

Gallery 2 items

Filter (Datasource,ColumnName=Gallery1.Selected)

 

On the second request on the Datatable, just sort the Datasource on the item property of the Datatable;

Sort(Datasource, supervisor)

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

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.

Hi, thank you for your soon reply,

 

like a subgallery?

Yes two galleries side by side

One as the Group Head and the other for Details.

 

Try the formula and give feedback

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

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.

Hi @diegoaff92 

You may want to check out the GroupBy() function to create a Gallery and Subgallery.  @PaulD1  has a nice video that may help  your design.  https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/PowerApps-Gallery-SubGallery-using-Gr... 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (23,944)