Hi
Im trying to combine 3 fields like textjoin
Motor is always not empty, both engine type and HK can be empty. So Motor + EngineType if it contains "Turbo" then "Turbo" else empty and if HK is not empty then + HK + "HK" divided by spaces
And this gives me an error and is missing "HK" in the end
Text.Combine({[Motor], Text.Contains([EngineType], "Turbo", "Turbo"), [HK]}, " ")
result like this "320 xDrive Turbo 125HK" if all is not empty
Thx in advance Henrik
Im trying to combine 3 fields like textjoin
Motor is always not empty, both engine type and HK can be empty. So Motor + EngineType if it contains "Turbo" then "Turbo" else empty and if HK is not empty then + HK + "HK" divided by spaces
And this gives me an error and is missing "HK" in the end
Text.Combine({[Motor], Text.Contains([EngineType], "Turbo", "Turbo"), [HK]}, " ")
result like this "320 xDrive Turbo 125HK" if all is not empty
Thx in advance Henrik
Last edited: