QUALIFY *; UNQUALIFY CustomerID;

QUALIFY and UNQUALIFY in Power BI

QUALIFY prefixes field names with the table name so Qlik doesn't associate tables on shared names. Power BI doesn't associate tables on shared names at query time. Relationships are model objects, and the same column name can exist in several tables. Desktop's "Autodetect new relationships" option (Options > Data Load) can create relationships from matching names at load, so check the Model view or turn it off. Most QUALIFY statements can simply be dropped. If you want prefixed names, use Table.PrefixColumns.

Partial / different approach Power Query Modeling

Short answer: Drop QUALIFY and UNQUALIFY and create the relationships you want in the Model view. To keep prefixed names anyway, use Table.PrefixColumns(T, "Orders"), which gives Orders.OrderID.

What it does in Qlik

  • QUALIFY field_list renames the listed fields, or * for all, to table.field in the following loads.
  • UNQUALIFY exempts fields, usually the keys you do want to associate on.

Qlik example

Qlik script
QUALIFY *;
UNQUALIFY CustomerID;
Orders:   LOAD * FROM orders.qvd (qvd);     // Orders.Status, Orders.Date, CustomerID
Invoices: LOAD * FROM invoices.qvd (qvd);   // Invoices.Status, Invoices.Date, CustomerID
UNQUALIFY *;

Power BI equivalent

Usually: nothing

Load both tables as they are. In the Model view, create only the relationships you need, for example on CustomerID. Columns with the same name in different tables don't interact.

If you want prefixes

Power Query M
= Table.PrefixColumns(Orders, "Orders")        // Orders.OrderID, Orders.Status ...
// rename the key back if you like
= Table.RenameColumns(Prefixed, {{"Orders.CustomerID", "CustomerID"}})

Gotchas and behaviour differences

  • "Autodetect new relationships after data is loaded" in Desktop options can create relationships on matching names, which is a little like Qlik's association. Turn it off and create relationships deliberately.
  • Field names must be unique within a table, but not across tables. In DAX you always reference them as Table[Column], which is effectively qualified.

Official documentation

Related pages

Spotted an error or a better pattern? QlikToDax is maintained by a working BI consultant; corrections are welcome via the About page. Last reviewed 2026-10-25.