Forum Discussion
texasmcse
3 years agoFrequent Visitor
DAX expression with filtered text
My goal is to create a card visual that shows the number of rows in a database that have a specific word in a field. Example below from an MECM database looking for value '11'. That works, I j...
Greg_Deckler
Community Champion
3 years agotexasmcse Maybe:
Measure =
COUNTROWS(
SUMMARIZECOLUMNS(
'From MECM DB'[Operating System],
KEEPFILTERS( FILTER( ALL( 'From MECM DB'[Operating System] ), SEARCH( "11", 'From MECM DB'[Operating System], 1, 0 ) >= 1 ))
)
)texasmcse
3 years agoFrequent Visitor
Greg_Deckler If SUMMARIZECOLUMNS only returns distinct values, what function would return all values and work in my scenario? Basically the equivalent of removing DISTINCT from a TSQL query.