So, I'm trying to build a document that tracks which locations have tickets open with a summary of "Bouncing" in order to determine which sites need to have bouncing tickets opened for them. I have a report (Location List) with all locations listed (Columns: Location ID). I have another report (Ticket List) with all open tickets (Columns: Ticket Number, Location, Summary, Ticket Status). For context's sake, I have another report with alarms that occurred for each location (location ID, alarm type, date occurred, etc), but I don't think that's necessary for this.
Location List: example of location list report
Ticket List: example of ticket list report
Ultimately, I'm trying to have a pivot table based on the alarm info that will show whether or not a Location is a candidate for a Bouncing ticket (X alarms in X days), but will also ONLY show locations that do NOT have open Bouncing tickets. I have the first part down, but the only showing locations that don't have open bouncing tickets is where I've run into problems.
Initially, I thought I could just add a column to one of the queries like so:
#"Added Conditional Column" = Table.AddColumn(#"Changed Type2", "Bouncing Investigation Open?", each if [#"Ticket List.Summary"] = "Bouncing" then "Yes" else "No")
However, I've realized that, since a location can have more than one ticket open, a location can appear as both Yes and No when doing a pivot table to determine what does/doesn't already have a Bouncing ticket open.
Is there a way for me to tell it to look for each instance of a Location ID from the Location List and check to see if the Summary for ANY = "Bouncing" and if TRUE mark somewhere (doesn't matter where, new column in existing query or wherever) "Yes" and, if FALSE, "No"?
An (almost) purely UI driven way to do it would be
Then you can change your column names etc.