Forum Discussion
need help with getting my data visualized properly
- 5 years ago
thanks for your reply CJLittle
sure, try to change 'Table'[Closed Date] >= _seldate to Table'[Closed Date] > _seldate in measures
count = var _seldate=SELECTEDVALUE(calendarTable[Date]) return countrows(filter('Table', 'Table'[Opened Date]<=_seldate &&'Table'[Closed Date]>_seldate))result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
thanks for your reply CJLittle
sure, try to change 'Table'[Closed Date] >= _seldate to Table'[Closed Date] > _seldate in measures
count =
var _seldate=SELECTEDVALUE(calendarTable[Date])
return countrows(filter('Table', 'Table'[Opened Date]<=_seldate &&'Table'[Closed Date]>_seldate))
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much. This got me almost all the way there. I just had to add in an or statement around the closed date to check for null values too. The final measure looks like the following:
count =
var _seldate=SELECTEDVALUE(calendarTable[Date])
return countrows(filter('Table', 'Table'[Opened Date]<=_seldate && ('Table'[Closed Date]>_seldate || 'Table'[Closed Date] = BLANK())))