cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dennis_Qiang
Helper III
Helper III

My datasource base on SP list. Can powerapps extract the corresponding information from the list and show in screen.

My SP list roughly as follows:

33.png

 

I will create a screen for filter "WEEK" and "Product". If i choose Product as "AAA" and choose "WEEK" as "WW25", then click the bottom, will navigate to another screen and this screen will show the extract information from the list and show the format like below.

 

22.png

 

Can powerapps achieve this function?

 

Thank You!

Dennis

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Dennis_Qiang ,

Could you tell me the fields' data type in your sharepoint list?

I assume that all of the fields that you listed are text type.

If so , you could set like this:

insert two drop downs to choose Product and choose WEEK

set drop down1's Items:

Distinct(listname,Product)

set drop down2's Items:

Distinct(listname,WEEK)

 Insert a label to display the selected product(AAA)

insert gallery1 to display the second level items(Apple-Moon)

insert gallery2 inside gallery1 to display the third level items(moonlight)

set label1's Text:

dropdown1.Selected.Result

set gallery1's Items:

GroupBy(
AddColumns(
Filter(listname,Product=dropdown1.Selected.Result,
                WEEK=dropdown2.Selected.Result
       ),
"project--subobject",
Concatenate(Project,"--",Subobject)
             ),
"Product",
"WEEK",
"project--subobject",
"highlights"
)

set one label's Text inside gallery1:

ThisItem.project--subobject

set gallery2's Items:

ThisItem.highlights

 7142.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2

yes, you can achieve this with a nested gallery/sub gallery. Here is a video tutorial https://youtu.be/ZzQ1t2sQvj8

v-yutliu-msft
Community Support
Community Support

Hi @Dennis_Qiang ,

Could you tell me the fields' data type in your sharepoint list?

I assume that all of the fields that you listed are text type.

If so , you could set like this:

insert two drop downs to choose Product and choose WEEK

set drop down1's Items:

Distinct(listname,Product)

set drop down2's Items:

Distinct(listname,WEEK)

 Insert a label to display the selected product(AAA)

insert gallery1 to display the second level items(Apple-Moon)

insert gallery2 inside gallery1 to display the third level items(moonlight)

set label1's Text:

dropdown1.Selected.Result

set gallery1's Items:

GroupBy(
AddColumns(
Filter(listname,Product=dropdown1.Selected.Result,
                WEEK=dropdown2.Selected.Result
       ),
"project--subobject",
Concatenate(Project,"--",Subobject)
             ),
"Product",
"WEEK",
"project--subobject",
"highlights"
)

set one label's Text inside gallery1:

ThisItem.project--subobject

set gallery2's Items:

ThisItem.highlights

 7142.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,899)