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

Filtering Gallery

Hello

I have a SPtable containing

Idnr , Region , City , Village , Team


I have 5 Regions with max 10 Citys , max 15 Villages  and tehy can have  max 5 Teams

I want to set a filter in the gallery so it shows

Regions with the Citys and Villages without duplicates 

I have been trying with GroupBY and Filter  , i can only see one column 

GroupBy(Filter(tbl_teams;region=ddregion.SelectedText.Value);"City";"region")
Any idea how to think here

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Try:

Distinct(tbl_teams,region & "-" & city& "-" & village)
 
If you dont like the result below, please show a sample of the Output you want like want you showed in your reply
duplicate2.JPG
------------

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.

 

View solution in original post

5 REPLIES 5
eka24
Super User
Super User

Try:

Distinct(tbl_teams,Village )

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

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.

Nice workaround  , but the names of the teams can be the same 

Show a sample of your table and if you can explain further

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

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.

Here is the table 

id  region  city village team  

1WAvestaFors8 - 10
2WAvestaFors11-13
3WAvestaAvesta14-15
4WAvestaAvesta8 - 10
5WFalunBojsenburg11-13
6WFalunBojsenburg14-15
7VVästeråsBäckby8 - 10
8VVästeråsEriksberg11-13
9VVästeråsEriksberg14-15
10XGävleHille8 - 10
11XGävleHille11-13
12XGävleBomhus14-15
eka24
Super User
Super User

Try:

Distinct(tbl_teams,region & "-" & city& "-" & village)
 
If you dont like the result below, please show a sample of the Output you want like want you showed in your reply
duplicate2.JPG
------------

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.

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,035)