Forum Discussion

Cio's avatar
Cio
Frequent Visitor
2 years ago
Solved

Store marked complete based on question

Hello, 

 

I am having trouble coming up with the solution or if its even possible. 

 

I have a client that runs multiple questions per location and as long as one is answered that store is marked complete. 

The store can have up to 20 questions.  The other detail is that the 1st question is the important one. So if question 1 and 2 are answered we want to Display question 1, but if question 3 and 4 are answered, we want to display the one that was answered first.  

How can I do that? 

 

 

3 Replies

  • could you pls paste the data here (not the screenshot)?

    and what's the expected output based on the sample data you provided?

  • Cio's avatar
    Cio
    Frequent Visitor

    Here is the data and the desired output. Hope this helps. 

     

     

     

    StoreQuestionAnswerComplete/Not Complete
    1New ReleaseYesComplete
    1PromotionNo
    1SupportNo
    2New ReleaseYesComplete
    2Promotion"Blank"
    2Support"Blank"
    2Distribution"Blank"
    3New Release"Blank"Complete
    3Promotion"Blank"
    3SupportYes
    3Distribution"Blank"
    3Remodel"Blank"
    4New Release"Blank"Complete
    4Promotion"Blank"
    4Support"Blank"
    4DistributionYes
    4Remodel"Blank"
    5New Release"Blank"Complete
    5Promotion"Blank"
    5Support"Blank"
    5Distribution"Blank"
    5RemodelYes
    6New ReleaseYesComplete
    6PromotionYes
    6Support"Blank"
    6Distribution"Blank"
    7New Release"Blank"Not Complete
    7Promotion"Blank"
    7Support"Blank"
    7Distribution"Blank"
    8New Release"Blank"Complete
    8PromotionYes
    8SupportYes
    9New Release"Blank"Not Complete
    9Promotion"Blank"
    9Support"Blank"
    9Distribution"Blank"
    10New Release"Blank"Not Complete
    10Promotion"Blank"
    10Support"Blank"