Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
khanashique
Creator II
Creator II

How to get Calculation in Rows

Hi Experts,

I need to calculate the following in rows (normally we do calculations in columns)

Jobs              140

Completed      120

Open              20

Efficiency       16.7  (Calculation (20/120)*100)

The above calculation i can get in columns, Need to calculate the same in ROWS.

Thanks,

MAK

4 Replies
jaumecf23
Creator III
Creator III

Hi,

You can use the ValueList function.

1st. Create a Dimension like this :

=ValueList('Jobs','Completed,'Open','Efficiency')

and then an Expression like this :

if(ValueList('Jobs','Completed,'Open','Efficiency')='Jobs',

      Sum(Jobs),

  if('Jobs','Completed,'Open','Efficiency')='Completed',

     Sum(CompletedJobs)....

khanashique
Creator II
Creator II
Author

Hi,

Thanks for your reply....

But the purpose is not solved of getting the below calculation in dimension...

Efficiency       16.7  (Calculation (20/120)*100)



Thanks.

MAK

gerry_hdm
Creator II
Creator II

an example as Excel or Qlik file would make this easier

Gerold

khanashique
Creator II
Creator II
Author

Hi Thanks for your reply,

Below is the sample data...

        

Date / PeriodJanuary-17February-17
W1W2W3W4W5W6W7W8
Jobs1510111222141911
Open42070203
Completed1181152212198
Efficiency (%)7380100421008610073

Efficiency       73  (Calculation (11/15)*100)

Thanks,

MAK.