Forum Discussion

imani_tech's avatar
imani_tech
Frequent Visitor
9 years ago
Solved

Left Outer Join/Left Four Characters

So I'm trying to re-create the following in Power BI:   SELECT i.*, d.[EmployeeID], d.[LOB] FROM [dbo].[tblImport] i LEFT JOIN [dbo].[tblDepartments] d ON LEFT(i.[Delegate], 4) = d.[EmployeeI...
  • MFelix's avatar
    9 years ago
    Hi imani_tech,

    In the query editor the language is not DAX is M so the formulas are different you need to yse the following formula:
    Text.Start([Delegate], 4)

    Be aware that in power query the formulas are case sensitive so you need yo put it with the caps in first letter of each word.

    Regards
    MFelix