Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Javier_Yebra
Contributor
Contributor

Nombre campo incorrecto

Hola,

Al escribir esta expresión, me dice que el campo es incorrecto, cuando no se trata de un campo.

=if((FOP="PAX CCA*"),Sum ([Grand total]))

El objetivo es sumar el campo [Total general] cuando FOP contiene PAX CCA*, siendo asterisco cualquier carácter después de A

Me podéis ayudar por favor?

 

Labels (1)
1 Solution

Accepted Solutions
Javier_Yebra
Contributor
Contributor
Author

Hola,

Muchas gracias, funciona perfecto!!

Saludos.

View solution in original post

2 Replies
Nicolae_Alecu
Creator
Creator

Hi,

SUM(IF(WILDMATCH(FOP,'PAX CCA*'),[Grand total])) as [Total General]

Best Regards,

Javier_Yebra
Contributor
Contributor
Author

Hola,

Muchas gracias, funciona perfecto!!

Saludos.