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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
MVP

RE:Ratio

Hi all,

I need to calucalte the raio between

Frmulae: Onsite Hours/Offshore Hours

Dim:Period

sample data lik dis

     

yearperiodon_0ff_flagtotal_hrstotal_amt
2011Per10Onsite    152456
2011Per10Onsite    152456
2011Per10Onsite    72216
2011Per10Offshore  152304
2011Per10Offshore  152304
2011Per10Offshore  816
2011Per10Offshore  142284

how can i achve dis?

thanks

Suresh

Labels (1)
10 Replies
Anonymous
Not applicable

this as well:

=num(Sum({<onsite_offshore_flag = {'Onsite'}>} total_hrs)/Sum({<onsite_offshore_flag = {'Offshore'}>} total_hrs)*100,'0')&'%'