Forum Discussion
MJG2112
Advocate II
8 months agoLooking Up a Partial Value in a Column
Hi. I'm trying to do something that on the face if it seems simple enough, but I'm struggling. I've had to create some simple mock data as I can't share the real thing. I have a visual showing man...
- 8 months ago
Hi,
Try this measure
Issue = if(CALCULATE(COUNTROWS(Data),FILTER(values(Data[Colour]),CONTAINSSTRING(Data[Comments],"UNKNOWN" )))>0,"Yes","No")
cengizhanarslan
Super User
8 months agoPlease try the formula below:
Product Issue =
VAR HasUnknown =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER (
ALL ( 'Table'[Colour] ),
CONTAINSSTRING ( 'Table'[Comments], "UNKNOWN" )
)
)
RETURN
IF ( HasUnknown > 0, "Yes", "No" )