Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Determine whether any of the detail rows for an event contain a certain word in a specific column

Hi All, I'm working on analysis of outage reports and I have an Event query with an event ID, as well as an EventDetail query with matching ID, timestamp, type (Identified, Scheduled, Investigating, Resolved, Monitoring, Postmortem), and details. I want to add a measure/column to the Event query that determines whether the event was scheduled. 

 

I assume this is DAX but I'm very new to it and could use a pointer on how to get a Scheduled column in Event with True/False based on whether any corresponding EventDetail rows have Scheduled in the Type column.

1 ACCEPTED SOLUTION
zenmemo
Helper I
Helper I

Create a measure

 

Scheduled = CONTAINS(your table,your column (e.g. type),"Scheduled")

View solution in original post

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Can you share a sample?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
zenmemo
Helper I
Helper I

Create a measure

 

Scheduled = CONTAINS(your table,your column (e.g. type),"Scheduled")

Anonymous
Not applicable

Awesome, thanks!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors