Forum Discussion
giorgiokatr
7 years agoHelper V
Dynamic matrix based on two months
hi there my data is as follows
| Date | cid | Score |
| 1/1/2018 | 1245 | 1 |
| 1/2/2018 | 1245 | 2 |
| 1/3/2018 | 1245 | 3 |
| 1/4/2018 | 1245 | 1 |
| 1/5/2018 | 1245 | 2 |
| 1/6/2018 | 1245 | 5 |
| 1/7/2018 | 1245 | 6 |
| 1/8/2018 | 1245 | 1 |
| 1/9/2018 | 1245 | 2 |
| 1/10/2018 | 1245 | 1 |
| 1/1/2018 | 4589 | 3 |
| 1/2/2018 | 4589 | 2 |
| 1/3/2018 | 4589 | 4 |
| 1/4/2018 | 4589 | 5 |
| 1/5/2018 | 4589 | 1 |
| 1/6/2018 | 4589 | 2 |
| 1/7/2018 | 4589 | 3 |
| 1/8/2018 | 4589 | 4 |
| 1/9/2018 | 4589 | 1 |
| 1/10/2018 | 4589 | 5 |
my report will have two filters.
Start date (lets say 01/01/2018) and end date (01/03/2018)
for these two days i would like a matrix like this
this matrix counts the cid that have each score for the selected months
example cid 1245 has score 1 in 01/01/2018 and score 3 in 01/03/2018 so the number 1 goes in the first row third column
i was thinking of creating a dynamic group by with two columns that will have the score (each column for each month selected)
then put them in matrix
1 Reply
- v-juanli-msftCommunity Support