Forum Discussion
EnSe
1 year agoRegular Visitor
Count rows based on date condition from another table
Hello @ all, I'm just about to build a report in powerBI for a Jira Project-Reporting. For this I want to display a burndown chart showing the burndown of tasks starting from the project start-da...
- 1 year ago
Make sure that there is no relationship between the date table and the issues table and then you can create a measure like
Burn Down = VAR MaxDate = MAX ( 'Date'[Date] ) VAR Result = CALCULATE ( COUNTROWS ( 'Issues' ), 'Issues'[Resolution Date] IN { BLANK (), MaxDate } ) RETURN Result
rohit1991
1 year agoSuper User
hi EnSe ,
-
DAX Measure:
Count of Issues =
COUNTROWS(FILTER(Issue_list,ISBLANK(Issue_list[ResolutionDate]) || Issue_list[ResolutionDate] > SELECTEDVALUE(Date_table[Date]))) -
This dynamically counts unresolved or future-dated issues.
-
Visualize: Use Date_table[Date] on the X-axis. Use Count of Issues as the Y-axis in your burndown chart.