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

Table inside canvas apps

Hi, I have a question. Is it possible to view a table inside the canvas apps, by filtering according to two data sources?  

Situation: 

When user select account that has group, the table will show field and value from data source A. If not, the table will show field and value from data source B. 

6 REPLIES 6
Highlighted
Super User
Super User

Re: Table inside canvas apps

Yes you can. Follow this video from Audrey Gordon
https://youtu.be/261e8xoOLe4

If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution
Highlighted
Helper V
Helper V

Re: Table inside canvas apps

@eka24 sorry but this is sorting the data table. 

Highlighted
Super User
Super User

Re: Table inside canvas apps

It can be possible but more information is needed. Do the two list have common column names?
What are the details of the Group table that would be used to filter the Gallery.
https://powerusers.microsoft.com/t5/Building-Power-Apps/can-you-filter-from-2-different-datasources-...

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

 

Highlighted
Advocate I
Advocate I

Re: Table inside canvas apps

you can work with the group as a kind of a variable during datasource-generating

 

items:

 

if(usergroup="groupA";datasourceA;usergroup="groupB";datasourceB)

 

...and of course the same with filter or other functions inside.

Highlighted
Helper V
Helper V

Re: Table inside canvas apps

@PowerDapp both the data sources having different fields. what im trying to do here is displaying the price list according to customer group. if the customer is in a group,the price list will be different,if not, then the price list will show the original price. 

Highlighted
Super User
Super User

Re: Table inside canvas apps

Hi @NurNina ,

The easiest way is probably to have two galleries, with the Visible property set according to which one you want to display.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,111)