Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Power Query if statement else with combined answer

Below you can find my if-Statement.
It’s working without, any problems beside the last if-Statement.
In the last Statement, I want to combine the first two letters from one column plus "999999999999".
So the result should look like TQ999999999999.
At the moment, I’m getting an error as a result.

Do you have any tips, why I’m getting an error.

if [Column1]="2" then Text.Start([Column2],2)&999999999999 else 1

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Put quotes around the 999999999

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading