Forum Discussion
Anonymous
8 years agoNot applicable
Measure showing error when nothing is selected in filter
Hello Community.. On my sheet I have 2 filters (cycle, survey) .. then if I am cycle by cycle 1, I want my measure to show me values, if cycle 2 selection and in my survey filter I select 1s...
- 8 years ago
Hi Anonymous,
There is a page level filter "ID SURVRY"[name]. So the ISCROSSFILTERED('ID SURVEY'[Name]) is always TRUE. I don't know how to get the number. Make changes to the blue part. It would work.
MEASURE FILTER = IF ( ISCROSSFILTERED ( CYCLE[Cycle Name] ), SWITCH ( TRUE (), [Filter Cycle] = "Cycle2", [Total Sales], [Filter Cycle] = "Cycle1", IF ( HASONEVALUE ( 'ID SURVEY'[Name] ), SWITCH ( TRUE (), [Filter Survey] = "Survey 1", 213480, [Filter Survey] = "Survey 2", 387865, [Filter Survey] = "Survey 3", 218488, [Filter Survey] = "Survey 4", 248844, BLANK (), 831558, BLANK () ), 831558 ) ), 931558 )Best Regards!
Dale
v-jiascu-msft
Microsoft Employee
8 years agoHi Anonymous,
There is a page level filter "ID SURVRY"[name]. So the ISCROSSFILTERED('ID SURVEY'[Name]) is always TRUE. I don't know how to get the number. Make changes to the blue part. It would work.
MEASURE FILTER =
IF (
ISCROSSFILTERED ( CYCLE[Cycle Name] ),
SWITCH (
TRUE (),
[Filter Cycle] = "Cycle2", [Total Sales],
[Filter Cycle] = "Cycle1", IF (
HASONEVALUE ( 'ID SURVEY'[Name] ),
SWITCH (
TRUE (),
[Filter Survey] = "Survey 1", 213480,
[Filter Survey] = "Survey 2", 387865,
[Filter Survey] = "Survey 3", 218488,
[Filter Survey] = "Survey 4", 248844,
BLANK (), 831558,
BLANK ()
),
831558
)
),
931558
)Best Regards!
Dale
Anonymous
8 years agoNot applicable
v-jiascu-msft Your are the best!!! Thx so much, really, really this solution was amazing :D
Thx for ur help and time Dale.