cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Danny2810
Level: Powered On

Combine Add Columns, Filter, Switch and Sort

Hello everybody,

I have a problem. I have two tables and one gallery. There I have created a formula with "AddCollumns" in the first part. The first part alone, it works.

And now, i have created a second part with "Sort",Switch" and "Filter". The second part is working too.
Here is a picture:

Formel.jpg

 

And now, i must it combine it. But how. All my attempts have failed.

Who can help me?

 

Thanks and greetings from germany

 

Danny

2 REPLIES 2
Community Support Team
Community Support Team

Re: Combine Add Columns, Filter, Switch and Sort

Hi @Danny2810 ,

 

Try to create a new collection with AddColumns function, then use this new collection with "Sort",Switch" and "Filter" functions. 

ClearCollect(NewCollection, AddColumns(...))

 

Then 

Sort(Switch(true;...;NewCollection;...;Sort(Filter(NewCollection;Kunde=ComboBox_Kunde.Selected.Result);Kunde;Ascending);...;Sort(Filter(NewCollection;Kunde=ComboBox_Kunde.Selected.Result && ...);...;Ascending);...)

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Danny2810
Level: Powered On

Re: Combine Add Columns, Filter, Switch and Sort

Hello Mona,

Where do I have to create the collection? Because i need the data from the table 2 in the gallery from the table 1 (Picture Beispiel1.jpg)

 Beispiel1.jpg

In this gallery I have to be able to filter by all criteria. Where do I have to create the collection?

In the field "OnSelect" from the gallery (Picture OnSelect-Gallery)

 OnSelect-Gallery.jpg

or in the column from the item  (Picture OnSelect-Item.jpg)

OnSelect-Item.jpg

 

 

 

 

 

 

 

Thank you

Greetings from Germany

 

Danny

 

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,861)