Scenario:
- I have a SP list (TIPS) that was created from a Quiz Form (MS Forms) consisting of 8 questions/columns.
- Each "question" was reformatted in preparation to export to SP as table column headers.
- example: C1, C2, C3, etc.
- I've created a flow to add new submissions from the MS Form to the list using Power Automate.
- I've created a "simple" PowerApp to add as a tab in Teams to display the results of the Quiz.
- The PowerApp consists of two galleries.
- selecting any given Gallery1 item updates a variable (varTips) with that text
- a text label in the gallery has a switch statement that compares varTips to all 8 column names and essentially outputs thisitem.vartips < essence of the formula
- this set up was the only way I could isolate a given column's content
- Gallery1 is a static list of the column names that correspond to the SP list columns (TIPS)
- Gallery2.items is set to the SP list
- All of this works great to give me the related column content for every record in the list
Problem:
- Some records have blank items (data) for a given column
- example: record 1 may have all 8 "questions" (C1 - C8) with responses; however, time ran out for record 2 and only 4 of the 8 have responses, as conceptually illustrated below in the table
Record | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 |
1 | data | data | data | data | data | data | data | data |
2 | data | data | data | data |
|
|
|
|
3 | data | data | data | data | data |
|
|
|
- If I select in Gallery1, the C1 item which through switch displays only the C1 column data in Gallery2, I'll get three rows of data, as expected
- If I select in Gallery1, the C5 item, then what I get is still three rows in Gallery2, but the second row does not have data, so my Gallery2 conceptually looks like this:
C5 |
data |
|
data |
Question:
How do I filter out any given displayed column to only show records that are not blank in that particular item?
Example flows of wanted outcome:
1. Gallery1 > select C5 item > Gallery2 > display only 2 rows: Record 1 & 3.
2. Gallery1 > select C7 item > Gallery2 > display only 1 row: Record 1.
3. Gallery2 > select C2 item > Gallery2 > display 3 rows, etc.
I've attempted to put together a filter formula, but since the column is not static, I don't think I can filter out the blanks that way.
Any ideas on how I can achieve this?

Report
All responses (
Answers (