Forum Discussion
Complex Filter Logic Using "AND" and "OR"
- 6 years ago
hi Anonymous
I would sugget you create a new calculated column for conditional(1 OR 2 OR 3)
FLAG=IF([Sales Rep - Product A] = "John Smith" || [Sales Rep - Product ] = "John Smith" || [Sales Rep - Product C] = "John Smith" ,1,0)Then use this column in Page/Visualtion filters to set filter is '1'.
Regards,
Lin
Hi I am very new to power BI. I have read the previous example and have a similar problem. Was hoping for 2 things
1. Someone would send me the code to use.
2. Guide me on where and how to use it (maybe screenshots)
I have about 5 source fields. All the fields are drop down with multiple values
I need a way to say show me all the records where
source field A = ecommerce or SF OR source fieldf B = ecommerce or Sf or Twine OR source field C = ecommerce or sf or twine or ABC
ie. each field has a choice of several values and there are several such values.
Thanks in advance
A sample data source with clearly laid out end result would help.