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

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
Community Champion
Community Champion

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 IV
Helper IV

Re: Table inside canvas apps

@eka24 sorry but this is sorting the data table. 

Highlighted
Community Champion
Community Champion

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 IV
Helper IV

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
Community Champion
Community Champion

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

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,487)