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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vikas_nandanwar
Creator II
Creator II

Same Formula not working in Bar Chart and #1KPI

Hi,,

I am using below formula in bar chart and #1KPI -

if([Sales/AOP]='Sales', Sum([Cts]),0)

My Bar Chart gives me correct representation while #1KPI gives me 0

Why??

Thanks,

Vikas

1 Solution

Accepted Solutions
luismadriz
Specialist
Specialist

Hi,

Please review this one: It’s all Aggregations

You could use this: Sum({<[Sales/AOP]={"Sales"}>} [Cts])


I hope this helps,


Cheers,


Luis

View solution in original post

2 Replies
luismadriz
Specialist
Specialist

Hi,

Please review this one: It’s all Aggregations

You could use this: Sum({<[Sales/AOP]={"Sales"}>} [Cts])


I hope this helps,


Cheers,


Luis

vikas_nandanwar
Creator II
Creator II
Author

Thanks,

this worked

Vikas