Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Power BI / DAX: Add a calculated column with the Code:
CalculatedColumn := LEFT([Customer/Vendor], 3)
PowerQuery:
nextStep = Table.AddColumn(previousStep, "newColumn", each Text.Start([#"Customer/Vendor"], 3), type text)
Hi,
In the Query Editor, you may also try the "Column from Example" feature.
Hi,
In the Query Editor, you may also try the "Column from Example" feature.
You are welcome.
Hi @admin11
As you are in Power query use Text.Start function in the new custom column.
Ref - https://docs.microsoft.com/en-us/powerquery-m/text-start
Thanks
Hari
Power BI / DAX: Add a calculated column with the Code:
CalculatedColumn := LEFT([Customer/Vendor], 3)
PowerQuery:
nextStep = Table.AddColumn(previousStep, "newColumn", each Text.Start([#"Customer/Vendor"], 3), type text)
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.