Forum Discussion
Anonymous
5 years agoNot applicable
DAX query for the below request
Hello community, My data is something like above where a company belongs to different Sides based on the projects. Every project has a start date and project active date. I want to calc...
- 5 years ago
Like this?
To get this, I converted the date columns from text to date data type, created a new calculated table DimDate using CALENDARAUTO() and defined the following measure:
CountSides = VAR SelectedDate = MAX ( DimDate[Date] ) RETURN CALCULATE ( DISTINCTCOUNT ( 'Sample'[Sides] ), 'Sample'[EndDate] >= SelectedDate, 'Sample'[StartDate] < SelectedDate )
Anonymous
5 years agoNot applicable
smpa01
Community Champion
5 years agoAnonymous doesn't work
- Anonymous5 years agoNot applicable