Will this work?
I have updated your data source to include 5 columns for the project phases as shown below and then pivoted the data and renamed the pivot field names to "Phase" and hid the pivot field values as it's not required.
And updated the join with the other data source as shown below:
And finally replaced the Project Phase dimension in the rows with the Phase dimension.
Hope this helps.