Attachment template: Trying to report from multiple days with empty values

Good evening,

I want to generate a report that seems like:
2X_1_1fe5ea199a84a5e8ccc2aa292bead34fda2c927f.png

I already have a table that has the following columns: [Production ID],[Date of production],[Employee],[Process],[Produced Units].

And Iโ€™m using the following expression for the first and second columns (name and production from the 1st of the moth):
<<Start: orderby(SELECT([Related Productions][Production ID], [Process]=Process 1, [Date]=Date(moth([Date of production])&"/1/"&year([Date of production])))),[Employee])>><<[Employee]>><<[Produced units]>><>

That gives me:
Employee 1 2
Employee 3 4

So, when I do similarly for the 2nd of the month, I get:
Employee 1 3
Employee 2 5

As you might see, the Issue is that I need to run the expression with all the โ€œactiveโ€ employees from that period in order to be able to fulfill the 0โ€™s where needed.

I mandatorily need to filter by date, which will modify the employees on the result. I got to a dead end.

Iโ€™ll appreciate any ideas in order to solve this situation.

0 3 297
3 REPLIES 3
Top Labels in this Space