Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
navaskhan
Contributor III
Contributor III

Monthly Variance Daynamically


How can i plot the the monthly variance in my chart?

I have the cummulative data.

Example:

Year Month Sales
2015Jan10
2015Feb40
2015Mar30

The chart should show the values

Jan 10

Feb 30

Mar -10

The chart show dynamically the month based on availability of data.

Note: I am using calaender function in my application

13 Replies
maxgro
MVP
MVP

my expression is

alt(sum(Sales)-above(Sum(Sales)),sum(Sales))

1.png

navaskhan
Contributor III
Contributor III
Author

Thank You !

navaskhan
Contributor III
Contributor III
Author

How can i plot this in Trend Chart?

maxgro
MVP
MVP

with a calculated dimension and same expression

1.png

navaskhan
Contributor III
Contributor III
Author

i have another dimension on top of that which shows the actual amount instead of variance when i plot that

navaskhan
Contributor III
Contributor III
Author

My data is lke :

Income Jan 200

Income Feb 250

Expense Jan 300

Expense Feb  450

The Chart Should show Monthly Income Varince and Expense Variance

I.e

                 Jan    Feb

Income     200      50

Expense   300     150

maxgro
MVP
MVP

add another expression

alt(sum(Expenses)-above(Sum(Expenses)),sum(Expenses))

1.png

navaskhan
Contributor III
Contributor III
Author

That works fine . Thanks for your support.

How did you hide the Chart Label.

i.e when i create the legend the first Ledgend  Label is appearing in my chart. How to come out of that?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Uncheck Show Title in Chart option in

Chart Properties -> General tab.

Hope this helps you.

Regards,

Jagan.