Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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"
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |