Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I am trying to make a report where I have a Subject a score and the date of the test,
So, I have my table
Subject_test:
Studentid SubjectID Subject Score Dateoftest
what I want to do is something similar to Pivot but i cant really add date as value what I want as a final imput is someting like this
SUBJECT 1
Student Id || Subject 1 Score || Subject 1 Dateoftest ||....Subject N Score || Subject N Date of test||
I am able to add the score column since there are numbers but i cant add date column because it will count it.
can you help me with this?
thanks in advanced.
Hi cromo,
According to your description, you are trying to use Matrix to show the data, right? Using Matrix in the value well will only display the numerical information. For the other column type such as text or Date/time, it will show the count numbers.
However, we could deal this with Measures, to show the date value in Matrix.
First, create a measure with the following formula:
SDATE = SUM(Sheet1[Date of test]) (Actually, we could also take use of MIN or MAX function here)
Then, when customize the Matrix Visual, put the [SDATE] measure instead of the date column, this would allow the Matrix to show the date correctly. See my testing results:
If any further questions, please feel free to post back.
Regards
If you already have Student Id || Subject 1 Score etc (assuming they are unique), you can derive the date as value by using the formula:
firstnonblank(Student Id ,1)
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |