Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ghassanaldalati
Contributor III
Contributor III

how I can design table in qlikview

Dear All:

Good morning

plz help me to design like this table in Qlikview

1. I can't create column 5 & 9 ( As total 3 month sales.

2. I can't create  column 10  11 and 12  ( as additional column not under my dimensions Year&Month.

ur support and help highly appreciated,

123456789101112
CompanyName2015 Sales Amnt2016 Sales Amntvs Targetvs TTL 201616 vs 15
JanFebMarQ1JanFebMarQ1
Company 0140,743,37347,837,63263,312,328151,893,33340,280,91751,705,40985,896,975177,883,301108%24%117%
Company 0215,895,88121,559,91434,121,32471,577,11915,687,74723,690,78942,218,58481,597,120101%23%114%
Company 03728,6403,683,9133,828,7998,241,3522,282,3561,106,1621,787,3375,175,85542%9%63%
Company 041,204,9701,216,0711,347,0743,768,1151,207,2881,248,9261,227,2443,683,45883%17%98%
Total58,572,86474,297,530102,609,526235,479,92059,458,30977,751,286131,130,140268,339,735102%23%114%
8 Replies
ghassanaldalati
Contributor III
Contributor III
Author

no answer.....

plz help

Gysbert_Wassenaar

You could create columns 5 and 9 by creating a new field in the script and use that as dimension:

NewTable:

LOAD * INLINE [

Period, Month

Jan, Jan

Feb, Feb

Mar, Mar

Q1, Jan

Q1. Feb

Q1, Mar

];

But I don't think you can create columns 10,11 and 12 this way. An alternative is to use a straight table instead of a pivot table and add twelve expressions, one for each column. You'll have to use text boxes for the headers like '2015 Sales Amnt' and '2016 Sales Amnt' because a straight table can have only one header row.

Column 1,2,3,4,6,7 would be something like sum({<Year={2015},Month={Jan}>}Value). Column 5 would be something like rangesum(Column(1),Column(2),Column(3). I can't tell you the expressions for the last three columns because I have no idea from what data they should be calculated


talk is cheap, supply exceeds demand
ghassanaldalati
Contributor III
Contributor III
Author

thanks for replay (Gysbet )..

but all what I need simple table

  • compare between tow selected year for selected month's
  • and column total for each year beside month  column
  • and three additional column for another formula calculation.

any one can easy create this table on simple Excel but not possible on professional BI like Qlikview....???!!Capture.JPG

Not applicable

Hi

It is possible.

Firstly, are you only displaying 3 months for each year at a time and how are you forcing this via selections?

If its a static 3 months then you could use set analysis. OR, there is also a QV function called GetFieldSelection(FieldName) which you can then use to embed into set analysis if the 3 months and year's are to be dynamic.

SatyaPaleti
Creator III
Creator III

Better you can use Cross Table to Create a Table for this kind of Data

ghassanaldalati
Contributor III
Contributor III
Author

I apologize from all..

But sometimes i have more than 3 month's or less ( Depend on my selections )

and also I can't use Gross table to create my simple table

HirisH_V7
Master
Master

Hi,

Can you provide your sample data format that helps to solve the issue.

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
ghassanaldalati
Contributor III
Contributor III
Author

My data