Hi all, i'm stuck and hope you'll help me
I need PowerApp to separate one table into two in email based on column "Quality Status" - please see example of source table below (table and PowerApp code will be attached in excel).

I can send single table via mail using this logic:

It works well and sends following message:

What i'm trying to achieve is to filter output message based on field "Quality Status"
There are 3 possible scenarios:
1) Column "Quality Status" has both attributes - "Overdue" and "Check"(see example below)

Then output should look like this

2) Column "Quality Status" has attribute "Overdue" only(see example below):

Then output message should look like this:

3) Column "Quality Status" has attribute "Check" only (see example below):

Then output message should look like this:

How should i modify PowerApp logic to achieve this?
Many thanks in advance!
Regards,
Oleh