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: 
paulyeo11
Master
Master

Why my GP% chart can display Jan and Feb % ?

Hi All

I have a table it can display monthly GP% amount.

YearMonth year 2019 2020
19 Jan 22% -
19 Feb 30% -
19 Mar 23% -
19 Apr 29% -
19 May 28% -
19 Jun 40% -
19 Jul 31% -
19 Aug 29% -
19 Sep 33% -
19 Oct 27% -
19 Nov 29% -
19 Dec 41% -
20 Jan - 28%
20 Feb - 29%

when i plot the chart , it can only display Jan and Feb ?

Paul Yeo

1 Solution

Accepted Solutions
paulyeo11
Master
Master
Author

Hi Sir

I have replace with below , it work fine :-

(
sum(sales)
-
sum(cost)
)
/
sum(sales)

Paul

 

View solution in original post

5 Replies
paulyeo11
Master
Master
Author

Hi All

Enclosed my QVW

prma7799
Master III
Master III

Hi Paul ,

 

Could you please share some sample data with expected output.

 

I am not able to open your qvw file

 

Thanks

paulyeo11
Master
Master
Author

Hi Sir

I have found the issue , it is due to my expression. Now work fine.

Paul
Anil_Babu_Samineni

The expression quite wrong to me in this section

year = {">=$(=max(year),4)"}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
paulyeo11
Master
Master
Author

Hi Sir

I have replace with below , it work fine :-

(
sum(sales)
-
sum(cost)
)
/
sum(sales)

Paul