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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
dhruvipanchal88
Contributor III
Contributor III

If condition

Hi,

In visualization, I wanted to show only Q1 data in table 1 and similar way Q2 data in table 2 in one sheet. 

Can anyone suggest formula?

Dhruvi

Labels (1)
1 Solution
5 Replies
Iswarya_
Creator
Creator

Hi @dhruvipanchal88 ,

You can use set analysis in the measure and filter the data needed

table 1 for Q1: Jan-Mar

Sum({<Date={">=$(=QuarterStart(YearStart(Today(),0,1))) <=$(=QuarterEnd(YearStart(Today(),0,3)))"}>}[Nett Amount new EUR])

table 2 for Q2: Apr-June

Sum({<Date={">=$(=QuarterStart(YearStart(Today(),0,4))) <=$(=QuarterEnd(YearStart(Today(),0,6)))"}>}[Nett Amount new EUR])

Solved: Quarter wise sum of sales - Qlik Community - 1542159

dhruvipanchal88
Contributor III
Contributor III
Author

It worked. Thank You

Iswarya_
Creator
Creator

@MarcoWedel 

If the issue is solved please mark the answer with Accept as Solution.
 
MarcoWedel

glad it worked.

please close your thread by accepting a solution.

thanks