Forum Discussion
MouserMike
7 years agoHelper I
Add OR to a Measure
I created a slicer along with a custom measure to allow me to filter a visual based on whether a particular field contained the value selected in the slicer. Below is the formual for the measure: Im...
- Anonymous7 years ago
Try something like this:
Your Measure = var a = FIND(SELECTEDVALUE('DepartmentStakeholders'[Department]),SELECTEDVALUE('Projects'[PrimaryDepartment]),1,0) var b = FIND(SELECTEDVALUE('DepartmentStakeholders'[Department]),SELECTEDVALUE('Projects'[ImpactedDepartments]),1,0) return MIN(MAX(a,b),1)Hope this helps,
Nathan
MouserMike
7 years agoHelper I
I checked and double-checked and as far as I can tell, everything is closed. I don't understand how the || and && fit into the formula, but it seems to behave like there is a missing argument.
littlemojopuppy
7 years agoCommunity Champion
What is the error message?