March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi I have two talbes Jobs and Dates with the date as the relationship. I wish to count the individual people (name) to see how many jobs they have completed (job status) for the month on in one column and a seperate column for the the week.
thank you
Job Table | >>>>>>>>> | Dates Table | |||||||||||
Name | Job Status | Job Reference Number | Date | Date | Year | Month | Week | ||||||
Jim | Completed | 23254 | 01/07/2019 | 01/08/2019 | 2019 | July | 14 | ||||||
Jim | Completed | 454545 | 02/07/2019 | 02/08/2019 | 2019 | July | 14 | ||||||
Jim | Completed | 54545 | 03/07/2019 | 03/08/2019 | 2019 | July | 14 | ||||||
Jim | Completed | 54545 | 04/07/2019 |
| 04/08/2019 | 2019 | July | 14 | |||||
Jim | Completed | 445454 | 05/07/2019 | 05/08/2019 | 2019 | July | 14 | ||||||
Bob | Completed | 836363 | 06/07/2019 | 06/08/2019 | 2019 | July | 14 | ||||||
Bob | Completed | 1227272 | 07/07/2019 | 07/08/2019 | 2019 | July | 14 | ||||||
Bob | Completed | 1618181 | 08/07/2019 | 08/08/2019 | 2019 | July | 15 | ||||||
Bob | Completed | 2009090 | 09/07/2019 | 09/08/2019 | 2019 | July | 15 | ||||||
Gary | Completed | 2399999 | 10/07/2019 | 10/08/2019 | 2019 | July | 15 | ||||||
Gary | Completed | 2790908 | 11/07/2019 | 11/08/2019 | 2019 | July | 15 |
Solved! Go to Solution.
Hi @cottrera
Create measures as below
And add columns from calendar table in a matrix visual
Measure = CALCULATE ( DISTINCTCOUNT ( Sheet2[Job Reference Number] ), FILTER ( Sheet2, Sheet2[Name] = MAX ( Sheet2[Name] ) && Sheet2[Job Status] = "Completed" ) )
Hi @cottrera
Create measures as below
And add columns from calendar table in a matrix visual
Measure = CALCULATE ( DISTINCTCOUNT ( Sheet2[Job Reference Number] ), FILTER ( Sheet2, Sheet2[Name] = MAX ( Sheet2[Name] ) && Sheet2[Job Status] = "Completed" ) )
User | Count |
---|---|
116 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
170 | |
117 | |
63 | |
56 | |
51 |