Forum Discussion
Anonymous
4 years agoNot applicable
Create Progress Tacker
Hello, I am fairly new to PowerBI and am wondering if the following is possible. I have a list of projects with their start and end dates and am looking to create a bar chart tracker that can shows t...
- 4 years ago
Hi Anonymous
Download sample PBIX file with the following data/chart
Using a measure like this will give you what you need by Week Number.
Active Projects By WeekNum = CALCULATE(COUNTROWS('Data'), FILTER(ALL('Data'), WEEKNUM('Data'[Project Start Date],1) <= SELECTEDVALUE(DateTable[WeekNumber]) && WEEKNUM('Data'[Project End Date],1) >= SELECTEDVALUE('DateTable'[WeekNumber])))This is using the Week Number form the DateTable. See PBIX file above.
Regards
Phil
PhilipTreacy
4 years agoSuper User
Hi Anonymous
Download sample PBIX file with the following data/chart
Using a measure like this will give you what you need by Week Number.
Active Projects By WeekNum = CALCULATE(COUNTROWS('Data'), FILTER(ALL('Data'), WEEKNUM('Data'[Project Start Date],1) <= SELECTEDVALUE(DateTable[WeekNumber]) && WEEKNUM('Data'[Project End Date],1) >= SELECTEDVALUE('DateTable'[WeekNumber])))
This is using the Week Number form the DateTable. See PBIX file above.
Regards
Phil
Anonymous
4 years agoNot applicable
Thank you PhilipTreacy this is exactly what I needed!