Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to display dynamic straight table ?

Hi,

I create straight table in qlikview . I want to display my straight table  dynamically according to my selections. like this

If I select march then display my straight table Jan feb mar.like below.

Listbox
Jan
Feb
Mar
apr
may
jun

Straight table.

CountryJanFebmar
India120001500020000
Uk150002000025000
Aus200002500030000

If I select  Feb then display Like this :it show only jan and feb .

countryJanFeb
India1200015000
Uk1500020000
aus2000025000

I wrote condition like this =WildMatch(Concat(month,'/'),'Jan') but It does not work. pls tell me out how display straight table like above

                                                              Thankyou,

Regards

madhu

23 Replies
Not applicable
Author

Thankyou massimo grossi.

maxgro
MVP
MVP

if you get the answer, please close the discussion, thanks

MarcoWedel

Hi,

you already received two replies that answered your question to the point.

But just to make sure, that you are aware you are asking for a solution that lets a straight table imitate the function of a pivot table, another solution using a pivot instead of a straight table:

QlikCommunity_Thread_168243_Pic1.JPG

QlikCommunity_Thread_168243_Pic2.JPG

QlikCommunity_Thread_168243_Pic3.JPG

QlikCommunity_Thread_168243_Pic4.JPG

QlikCommunity_Thread_168243_Pic7.JPG

QlikCommunity_Thread_168243_Pic6.JPG

QlikCommunity_Thread_168243_Pic5.JPG

drag the month dimension to the top right corner.

QlikCommunity_Thread_168243_Pic8.JPG

Please let us know, if there are reasons you prefer a straight table instead.

hope this helps

regards

Marco

Not applicable
Author

Thank you  marco wedel.

Not applicable
Author

Neetu_Singh

VERY NICE  SUNINDIA

Not applicable
Author

Hello marco wedel.

I tried as it is what you said  but It does not work. see my data.

1.PNG

2.PNG

step1: I select pivot table

3.PNG

Step2: I take 2 dimensions

8.PNG

Step 3: I write expression in expression tab.

4.PNG

5.PNG

Step 4: I take this data

6.PNG

but when I select month in list box I doesnot work. see this image.

7.PNG

pls tell me  marco wedel where did I do mistake .pls help me

                                        

                                                                   Thankyou,

Regards

madhu

MarcoWedel

you did not load your months as dual values, i.e. there has to be an underlying numerical value to work properly.

Try to generate your months in the script e.g. like this

tabMonths:

LOAD Month(Date#(RecNo(),'M')) as month

AutoGenerate 12;

hope this helps

regards

Marco

sunilkumarqv
Specialist II
Specialist II

Check this please its really solve your needs .

Dynamically Selecting Timeframes

Not applicable
Author

Thank you very much Marco wedel .thank you so much marco wedel  .

Not applicable
Author

Hello Marco wedel.I followed your instructions but it is not work properly according to my selections. the data disply in pivot table like this .

List box:

1234.PNG

Step1: pivot table

2222.PNG

step2 :

3333.PNG

Step3:

44444.PNG

Script:

Script 222.PNG

But it is not work properly . pls help me

when I select feb It display only feb data.

                                                                               Thankyou,

Regards

madhu