cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NurNina
Post Patron
Post Patron

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
eka24
Super User
Super User

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

@eka24 sorry but this is sorting the data table. 

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.

 

PowerDapp
Advocate I
Advocate I

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.

@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. 

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,243)