Forum Discussion
Syndicate_Admin
Administrator
3 years agoLos IFs excel
Hola a todos Estoy tratando de lograr lo siguiente que he creado en excel en power bi: Brand1=SI(Productos[Marca]="Nissan", Productos[Marca]&" "&"("&Productos[PC]&")",Productos[Marca] IF(Pro...
Syndicate_Admin
Administrator
3 years ago
Aquí una solución en Power Query:
y aquí el código:
if [Brand]="Nissan" then [Brand] & " (" & [PC] & ")" else if [Brand]="Subaru" then [Brand] & " (" & [PC] & ")" else if [Brand]="Toyota" then [Brand] & " (" & [PC] & ")" else if [Brand]="Mazda" then [Brand] & " (" & [PC] & ")" else [Brand]
Avísame si esto funciona 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/