Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
migueldfr_23
Contributor III
Contributor III

Mostrar un KPI que me sume los 1's de mi tabla

Tengo una tabla con columnas creadas por condicionales, y quiero mostrar un KPI que me sume todos los unos que hay en la tabla de las dos columnas que señalo.

- count 

- Real vs Requested

Como vemos el sumatorio de la columna da 4 y el Kpi me esta dando 1, por lo que no entiendo porque me da distinto si la función que he puesto en KPI es un agregate de esa columna, (adjunto foto)

migueldfr_23_1-1710835119706.png

 

Esta es la función del KPI de Real vs Requested

migueldfr_23_2-1710835148984.png

 

 

Labels (1)
1 Solution

Accepted Solutions
LRuCelver
Partner - Creator III
Partner - Creator III

Then try your Sum(Aggr(...)), but add ALL dimensions you've used in the table.

View solution in original post

4 Replies
LRuCelver
Partner - Creator III
Partner - Creator III

The field [Real VS Requested] has more than one value for some doc_nbrs. Since you don't specify an aggregation function in the aggr, the result for those doc_nbrs is null.

Just Sum([Real VS Requested]) should return the 4 you are looking for.

migueldfr_23
Contributor III
Contributor III
Author

I have created a master item with that field, you mentioned SUM(X)

migueldfr_23_1-1710857573474.png

 

LRuCelver
Partner - Creator III
Partner - Creator III

Then try your Sum(Aggr(...)), but add ALL dimensions you've used in the table.

migueldfr_23
Contributor III
Contributor III
Author

I have tried what you mentioned before and it works. 
But you have add ALL the columns you have on place.