Forum Discussion
Anonymous
5 years agoNot applicable
Month by Month Running Total Graph
I've been struggling at this for a while, so I'd really appreciate some help on this. I'm trying to visualize the progress on the projects in the dataset (will explain this further). Here is the ...
- 5 years ago
- Anonymous5 years ago
Hi Anonymous ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
1. Create a date dimension table, no need to create any relationship with your fact table
2. Create 3 measures as below to get the count of projects with in progress, completed and abandoned status
Completed = CALCULATE ( DISTINCTCOUNT ( 'Sheet1'[Peoject ID] ), FILTER ( ALLSELECTED ( 'Sheet1' ), 'Sheet1'[Status] = "Completed" && 'Sheet1'[Completion Date] <= SELECTEDVALUE ( 'Date'[Date] ) ) )In progress = CALCULATE ( DISTINCTCOUNT ( 'Sheet1'[Peoject ID] ), FILTER ( 'Sheet1', ISBLANK ( 'Sheet1'[Completion Date] ) || 'Sheet1'[Completion Date] >= SELECTEDVALUE ( 'Date'[Date] ) ) )Abandoned = CALCULATE ( DISTINCTCOUNT ( 'Sheet1'[Peoject ID] ), FILTER ( 'Sheet1', 'Sheet1'[Status] = "Abandoned" && 'Sheet1'[Completion Date] <= SELECTEDVALUE ( 'Date'[Date] ) ) )Best Regards
Ashish_Mathur
5 years agoSuper User
- Anonymous5 years agoNot applicable
Thank you so much - I reverse engineered what you did in the file to my larger dataset and got it to work after weeks of struggling. Thanks again!