Hi!
As I understand, you need to go through a SP list, and check which columns have answers, and which don't, and then you want that value compared to the total number of questions? If it's not like this and I'm misunderstanding please let me know.
Assuming your table is set up like this, you could do something like:
ClearCollect(
completionProgresses,
ForAll(
*YourTable*,
{
Title: ThisRecord.Title,
Count:
CountIf(
[
{completed: IsBlank(ThisRecord.Q1)},
{completed: IsBlank(ThisRecord.Q2)},
{completed: IsBlank(ThisRecord.Q3)},
ect.
],
completed
)
}
)
)
This will create a collection which will have the title and count of each question column which does not contain a blank value (no answer). You'll just have to swap in your own datasource and column names here.
Hope this helps!