Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Create a new table based on Date data

I have a dataset, with various statuses and the dates they changed
sample (fake) data:

WorkerStatusDate Updated
ArinEmployed12-03-23
ArinUnemployed19-06-23
ArinEmployed25-11-23
BrianEmployed01-01-23
BrianRetired20-10-23
DanEmployed03-02-23
DanUnemployed29-05-23
DanEmployed07-07-23
DanRetired19-09-23

 

and what I want to create is a summary of the worker statuses in all months of the year:

WorkerJan-23Feb-23Mar-23Apr-23May-23Jun-23Jul-23Aug-23Sep-23Oct-23Nov-23Dec-23
Arin  EmployedEmployedEmployedUnemployedUnemployedUnemployedUnemployedUnemployedEmployedEmployed
BrianEmployedEmployedEmployedEmployedEmployedEmployedEmployedEmployedEmployedRetiredRetiredRetired
Dan EmployedEmployedEmployedUnemployedUnemployedEmployedEmployedRetiredRetiredRetiredRetired

 

please help

  • I added a Matrix visual with your sample data and this is what it looks like.

     

    You can add the fields like the below. But remember it's only going to pull in the First status of that date by the worker.

     

     

     

    Best regards,

    Ismail | MiTutorials

     MiTutorials on YouTube Explore over 200+ Power BI tutorials and enhance your skills!

2 Replies

  • I added a Matrix visual with your sample data and this is what it looks like.

     

    You can add the fields like the below. But remember it's only going to pull in the First status of that date by the worker.

     

     

     

    Best regards,

    Ismail | MiTutorials

     MiTutorials on YouTube Explore over 200+ Power BI tutorials and enhance your skills!

    • Anonymous's avatar
      Anonymous
      Not applicable

      Ok, thanks anyway...