Forum Discussion
kunjan_ashara
3 months agoNew Member
Filter data using slicer
Hello Everyone, I have this tableau calculation where [Include in MPR Para] is a Tableau parameter and INCLUDE_IN_MPR is a column. if [Include in MPR Para] = 'Included in MBO' and ([INCLUDE_IN_M...
- 3 months ago
Thanks, just adding Include_in_mpr to the rows in the matrix visual solved it.
mh2587
3 months agoSuper User
_Flag = --try this might help you
VAR sel = SELECTEDVALUE('Show Categories'[Value])
RETURN
SWITCH(
TRUE(),
sel = "Included in MBO" && SELECTEDVALUE(APEX_INTL_MSF_FACT[INCLUDE_IN_MPR]) = TRUE(), 1,
sel = "Excluded from MBO" &&
(SELECTEDVALUE(APEX_INTL_MSF_FACT[INCLUDE_IN_MPR]) = FALSE()
|| ISBLANK(SELECTEDVALUE(APEX_INTL_MSF_FACT[INCLUDE_IN_MPR]))), 1,
sel = "All", 1,
0
)