Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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)
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |