Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with QlikView (Ayuda con QlikView)

I am new in QlikView and have a little problem when displaying data in a table.

I have one column where I show totals and percentages. example:

      field1

A 2,452 -----> Total

B 1,500 -----> Total

C 10 ----->%

D 5 ----->%

E 8 ----->%

the problem is that the percentages can not put them without the symbol% totals are changed.

You should show up like this:

       field1

A 2,452

B 1500

C 10%

D 5%

E 8%

Thank you very much for their help

Translated with Google Translate - Qlik Community Administrative Team

Hola soy nuevo en QlikView y tengo un pequeño problema a la hora de mostrar los datos en una tabla.

tengo una sola columna donde muestro totales y porcentajes. ejemplo:

     campo1

A     2,452  ----->total

B     1,500 ----->total
C      10    ----->%
D       5      ----->%
E       8    ----->%

el problema es que  los porcentajes no les puedo poner el simbolo % sin que se modifique los totales.

debería apareces asi:

      campo1

A     2,452

B     1,500
C      10%   
D       5 %  
E       8 %

Muchas gracias por su valiosa ayuda

4 Replies
arthur_dom
Creator III
Creator III

if( rowno() < 3, num( <Expresion> , '###.###.###'), num(<Expression> '##%'))

Not applicable
Author

Muchas gracias el código funciona  excelente , pero el detalle aquí es estoy usando varios IF y al poner la sentencia no me hace el cambio,también he intentado esto IF(<Expresion>, num(Sum(<Expresion>), '#,##0%'), y no hace el cambio, no se si es  porque estoy usando varios IF o algo estoy haciendo mal.

Muchas Gracias.

fkeuroglian
Partner - Master
Partner - Master

Marvin, podrias subir el codigo a modo de ejemplo? o subir el qvw para que podamos ayudarte?

saludos

Fernando

Not applicable
Author

Buen dia:

Por ejemplo asi tengo el codigo:

IF(Campo A='AA' ,Sum({<Campo x= {'galletas'}>}Ventas),

IF(Campo B='BB' ,Sum({<Campo x= {'frescos'}>}Ventas),

Intente esto y no me muestra el formato que se deseo:

IF(Campo C='CC' ,num(Sum({<Campo x= {'galletas'}>}Ventas), '#,##0%'),

IF(Campo D='DD' , num(Sum({<Campo x= {'frescos'}>}Ventas), '#,##0%'),

))))

gracias por su ayuda