Power QueryExercises

Flag tickets that mention billing, in any case (saas)

Add an Is Billing flag when Topic contains "bill" regardless of capitalisation.

Level
intermediate
Time
~7 min
Task
Build the query
Access
Pro
Checking your access…

About this exercise

What you'll practise

Use Text.Contains with a case-insensitive comparer.

The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.

Input

  • Tickets (table)
    • TicketID: text
    • Opened: text
    • Closed: text (nullable)
    • Priority: text
    • Channel: text
    • Agent: text
    • Topic: text

Expected output columns

TicketID (text), Opened (text), Closed (text (some rows null)), Priority (text), Channel (text), Agent (text), Topic (text), Is Billing (logical)