Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikapple
Creator
Creator

Need help

Hi Please help,

Requirement:

By default if i open the dashboard the KPI data should show Calls Data, else it should show as 0)
By default it should show calls data while opening the dashboard with out selecting filter on Type. How to do.

 

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

This should do it

=Num(Count({<SAMPLETYPE *= {'Calls'}, AC = {'P'}>} AC)/Count({<SAMPLETYPE *= {'Calls'}>} ID), '##.%')

View solution in original post

4 Replies
sunny_talwar

Not entirely sure, but may be this if you want it to show 0 when WI is selected in Type field

=Sum({<Type *= {'Calls'}>} Values)
qlikapple
Creator
Creator
Author

Hi Sunny,

 actually I have given the sample. actual my expression is like this

 I have fiter Sampltype as Data and Calls as the Calls expression I have written as 

=num(count({<SAMPLETYPE={'Calls'},AC={'P'}>}AC)/count({<SAMPLETYPE={'Calls'}>}ID),'##.%')

By default while opening the dashboard I need to show the Sampletypefield  Calls data,

After that if I click on the Sampletype as Data then it should as zero as they don't have data for that column , so can you please help me on this.

I have wriiten  your condition in my qvw , but it is not coming up.

Can you please help.

 

 

=if(SAMPLETYPE *= 'Calls',num(count({<SAMPLETYPE={'Calls'},AC={'P'}>}AC)/count({<SAMPLETYPE={'Calls'}>}ID),'##.%'),'0%')

sunny_talwar

This should do it

=Num(Count({<SAMPLETYPE *= {'Calls'}, AC = {'P'}>} AC)/Count({<SAMPLETYPE *= {'Calls'}>} ID), '##.%')
qlikapple
Creator
Creator
Author

tHANKS YOU ITS WORKED