Setup
I have two SQL tables
The "Survey Answer Selection" in Tabe 1 = "Selection" in Table 2
Scenario
The Challenge
Any ideas to sort the above will be helpful.
Hi @ajaykumard ,
Could you please share a bit more about your scenario?
Do you add the Radio control within your Gallery ("Survey Questions" Gallery)?
Further, do you mean that the Filter function could not work within your GroupBy formula? Could you please share more details about the formula you typed within the Items property of the Gallery2 ("Survey Questions" Gallery)?
Based on the formula you provided, I could not find any syntax error with it. Please check if you could display the 'Survey Answer Selection' column value within your Gallery2 ("Survey Questions" Gallery). Within your Gallery2, add a Label, set the Text property to following:
ThisItem.'Survey Answer Selection'
then check if the Label could display proper 'Survey Answer Selection' value.
I assume that you filter your Gallery2 items based on the item selected in your Gallery1, is it true? Please take a try with the following workaround:
Set the Items property of the Gallery1 to following:
Distinct(
Filter(SurveyLocal, Survey = ComboBox1.Selected.Result),
'Survey Section'
)
Set the Items property of the Gallery2 to following:
Filter(SurveyLocal, 'Survey Section' = Gallery1.Selected.Result)
Then add Radio control in your Gallery2, set the Items property to following:
GroupBy(
Filter(DropdownsLocal, ThisItem.'Survey Answer Selection' in Selection),
"SelectionItems",
"FilteredDropDown"
)
Please take a try with above solution, then check if the issue is solved.
Best regards,
Dear @v-xida-msft,
Thanks for the response. I have used the exact formula and the same is not working. Hence this call for help. Please find attached screenshots for further reference.
Hi,
My problem is with the following. No error showing up and neither the filtered items
GroupBy(
Filter(DropdownsLocal, ThisItem.Survey_x0020_Answer_x0020_Selection in Selection),
"SelectionItems",
"FilteredDropDown"
)
However, if the is replaced with ThisItem.Survey_x0020_Answer_x0020_Selection is replaced with "Rating Scale 3", it works.
GroupBy( Filter(DropdownsLocal, "Rating Scale 3" in Selection), "SelectionItems", "FilteredDropDown" )
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
53 | |
41 | |
36 | |
31 |
User | Count |
---|---|
240 | |
74 | |
71 | |
69 | |
65 |