Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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 October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
94 | |
91 | |
82 | |
69 |
User | Count |
---|---|
161 | |
127 | |
124 | |
108 | |
97 |