Forum Discussion
laurent_rio
Helper I
5 years agoHow to make filter with select all work for this case ?
Hi, I have table that have employee name, position, department and training hours Now i already create several measures Total Employee = DISTINCTCOUNT('Training Table'[Employee]) Train...
- 5 years ago
You could also do it like this.
Department Average Duration/Staff 2 = IF ( NOT ISBLANK ( [Total Employee] ), CALCULATE ( [Average Training Hours/Staff], ALLSELECTED ( 'Training Table' ) ) )
Ashish_Mathur
Super User
5 years agoHi,
This measure works
Measure = if(ISBLANK([Training Duration]),BLANK(),CALCULATE([Average Training Hours/Staff],ALLSELECTED(Department[Department]),all('Training Table'[Position])))
Hope this helps.