Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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 April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
100 | |
64 | |
44 | |
37 | |
35 |