Forum Discussion
ahuhn
Advocate I
7 years agouse parameters in dax
I made a DAX measure: Measure = CALCULATE(COUNT(Sheet1[Status]),FILTER(Sheet1,[MonthUpdated]="201810" && [Status]="Alpha")) I also created a parameter YYYYMM to represent [MonthUpdated], to p...
- 7 years ago
Hi ahuhn
You can get the other count which is not selected by slicer with below measure.
Measure =
CALCULATE (
MAX ( Sheet1[MonthUpdated] ),
FILTER (
Sheet1,
Sheet1[MonthUpdated] <> SELECTEDVALUE ( Slicer[YYYYMM] )
&& Sheet1[Status] = "Alpha"
)
)
Regards,
Cherie
ahuhn
Advocate I
7 years ago| Status | MonthUpdated |
| Alpha | 201810 |
| Alpha | 201810 |
| Beta | 201810 |
| Gamma | 201810 |
| Gamma | 201810 |
| Alpha | 201809 |
When user selects parameter 201810, alpha result should be 2
when user seelcts 201809, alpha result should be 1
Unforunately, the parameters cannot be altered either