Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
thewillemzelluf
Creator
Creator

calculations as dimension in KPI table

Hello everyone,

I have a question about a KPI table. I want to use different KPIs (which are calculations in qlik editor) as a dimension for a KPI table. (see the appendix as an example).KPI.png


However, I have no idea how to cast a calculation into a dimension so that, for example, I specify all calculations as a dimension under the name 'KPI'.


Someone any idea how this can be done? Thanks in advance!

1 Solution

Accepted Solutions
OmarBenSalem

Do sthing like this:

As a dimension in ur table use :

valuelist('Kpi1',Kpi2')

as a measure:

if( valuelist('Kpi1',Kpi2')='Kpi1', MeasureofKpi1,MeasureOfKpi2)


Example:

Capture.PNG

View solution in original post

7 Replies
christian77
Partner - Specialist
Partner - Specialist

Hi.

Use the Simple KPI extension.

Bye.

thewillemzelluf
Creator
Creator
Author

is it possible to convert that to a table?

teiswamsler
Partner - Creator III
Partner - Creator III

hi Willem

It can be done with the ValueList() function as a dimension.

See Qlik help for a exsample

https://help.qlik.com/en-US/sense/September2018/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/Synt...

/Teis

christian77
Partner - Specialist
Partner - Specialist

Captura.JPG

Use a table then. Any artificial dimension will be fine.

christian77
Partner - Specialist
Partner - Specialist

For the table.

Load a field (FAKE DIM) with values A, B, ……. N

Place that dimension in the dimension place.

Then go to measures and write:

IF([FAKE DIM]='A', first KPI,

IF([FAKE DIM]='B', secondKPI,

………..

IF([FAKE DIM]='N', Nth KPI

))…….)

OmarBenSalem

Do sthing like this:

As a dimension in ur table use :

valuelist('Kpi1',Kpi2')

as a measure:

if( valuelist('Kpi1',Kpi2')='Kpi1', MeasureofKpi1,MeasureOfKpi2)


Example:

Capture.PNG

thewillemzelluf
Creator
Creator
Author

thanks!