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: 
gerrycastellino
Creator III
Creator III

Linechart Display by Qtr Only

I need to get this line chart to display the beginning quarter dates only, and ignoring any selection on the

date in the list box.

see attached qvw file.

I would want to see the following %'s:

9.09%

50%

95.89%

3.85%

THankx !

Gerry.

1 Solution

Accepted Solutions
sunny_talwar

Try this

If(Only({<SaleDate>}Category) = 'Green' and Mod(Month(Only({<SaleDate>}SaleDate)), 3) = 1, Only({<SaleDate>} Aggr(Sum({<SaleDate>}Sales), SaleDate, Category))/Sum({<SaleDate>} TOTAL <SaleDate> Sales), Null())

Capture.PNG

View solution in original post

3 Replies
sunny_talwar

May be this

If(Category = 'Green' and Mod(Month(SaleDate), 3) = 1, Aggr(Sum(Sales), SaleDate, Category)/Sum(TOTAL <SaleDate> Sales), Null())

Capture.PNG

gerrycastellino
Creator III
Creator III
Author

Sunny:

Thankx,  I also need it to ignore the date selection.

sunny_talwar

Try this

If(Only({<SaleDate>}Category) = 'Green' and Mod(Month(Only({<SaleDate>}SaleDate)), 3) = 1, Only({<SaleDate>} Aggr(Sum({<SaleDate>}Sales), SaleDate, Category))/Sum({<SaleDate>} TOTAL <SaleDate> Sales), Null())

Capture.PNG