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

pivot table two dimensions see in single row

Hi All,

In pivot table i have two dimensions like bellow.

asdf.JPG

I want see one  ITEM NUMBER(61195643-54) one module Like bellow images.

asdf2.JPG         asdf3.JPG

I Want see any MODULE in one row. like above any one.

Thanks

Sekhar.

13 Replies
Anonymous
Not applicable

Do you need only one MODULE for each Item number when expanded?

aarkay29
Specialist
Specialist

If you want line by line then you have to use straight table instead of pivot table.

kulasekhar
Creator
Creator
Author

Both should be in dimensions.

Thanks

Sekhar

Not applicable

By  having Module and Item Number as dimensions and using count in expression for ModuleNo field, the chart could be shown in following format..

vinieme12
Champion III
Champion III

Here is a workaround I posted for something similar

Same

You can make it look that way

Change it to a calculated dimension

Dimension1:  =ITEMNumber&chr(10)& Module

Dimension2: =Module

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
kulasekhar
Creator
Creator
Author

Hi Vineeth,

Your shard

LEVEL1 ,  LEVEL2

  ABC     ,aa

   ABC     ,dd

  ABC      ,mm

I want singile row like bellow

LEVEL1 ,  LEVEL2

  ABC     ,aa

    ( or)

   ABC     ,dd

     (or)

  ABC      ,mm

Any one row. If there any pasibulities.

Thanks

Sekhar.

Anil_Babu_Samineni

What is the logic behind?

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
kulasekhar
Creator
Creator
Author

there is no logic we want single row like ABC     ,aa

Thanks

Sekhar

Anil_Babu_Samineni

In fact, Report should need logic. Anyway, For your Question we can achieve like below

LOAD LEVEL1, LEVEL2, AutoNumber(Rowno(),LEVEL1) as ID;

LOAD * Inline [

LEVEL1 ,  LEVEL2

  ABC     ,aa

   ABC     ,dd

  ABC      ,mm

  DEF,  fg

  DEF,jf

  DEF,rt

  ];

In Pivot Dimension is -- LEVEL1

Expression is -- Only({<ID = {1}>}LEVEL2)

Output this?

Capture.PNG

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