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

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.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,785)