Forum Discussion
lundande
4 years agoFrequent Visitor
Filter dataset for SELECTEDVALUE() using SEARCH()
I have a data set of 15 million rows that needs to be filtered based on a value that can appear in a any one of 6 seperate columns ( not a great dataset). I concatenated these columns so I can use SE...
smpa01
Community Champion
4 years agolundande does this work?
Measure =
VAR company =
SELECTEDVALUE ( 'All Columns'[COMPANYNAME] )
RETURN
CALCULATE (
MAX ( 'All Columns'[COMPANYNAME] ),
SEARCH ( company, 'All Columns'[Search Column], 1, -1 ) > 0
)
lundande
4 years agoFrequent Visitor
Looks like MAX is what I was missing! Thank you for the help.