Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Qlikview for Finance

You're reading from   Qlikview for Finance Concoct dynamic business intelligence dashboards for financial analysis with QlikView

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781784395742
Length 174 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting That Financial Data into QlikView FREE CHAPTER 2. QlikView Dashboard Financial KPIs 3. KPIs in the Financial Officer QlikView Dashboard 4. QlikView Asset Management with Multiple Data Sources 5. QlikView Sales Analysis 6. QlikView Forecasting and Trends 7. QlikView Inventory Analysis 8. QlikView Order Details Dashboard 9. QlikView Expenses Dashboard 10. Sharing Your QlikView Insights Index

Trend and forecast lines in charts


We will start by adding a trend line to the lower chart, Monthly Sales and Margin. Then, we will add a forecasted trend line out 3 months to the upper chart, with a 12-month rolling average.

Adding a trend line to the monthly sales and margin chart

  1. Right-click on the chart titled Monthly Sales and Margin and choose Properties:

  2. Navigate to the Dimensions tab.

  3. Click on the Add button to add a new dimension.

  4. On the right-hand side in the Label box, type the word Trend.

  5. Next, click on the ellipses to enter the formula for our trend line:

    if(v12month<=month(today()),sum({<YYYYMM ={">$(v12month)"}>}[Sales Amount]),avg(total aggr(if(v12month<=month(today()),sum([Sales Amount])),v12month)))

    Our formula says that, if the variable in v12month is less than the current month, then use the sum of the data we have in Sales Amount. If we don't have the current month's data, then get an average of the aggregate of the last 12 months of data:

  6. Make sure that the checkbox...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime