Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MERGE IN PIVOT TABLE

i HAVE achieved  PIVOT TABLE OUTPUT LIKE THIS

Database_LinkPhase_LinkNumber Of MachineRating (in MW)Generation Budget For the DayGeneration Actual For the DayPLF BP For the DayPLF Actual For the DayBudget MA% For the DayMA ACTUAL% For The DayGeneration BP MTDGeneration Actual MTDPLF BP MTDPLF MTDMA  BP MTDMA MTDGeneration BP YTD GENERATION YTDPLF BP YTDPLF YTDMA  BP YTDMA YTD

Database _Link AND phase_Link is Dimension rest of them is expression.

And further i have to represent it like this

For The DayFor the MonthFor the year

Budget

Actual

Budget

Actual

Budget

Actual

Database_LinkPhase_LinkNumber Of MachineRating (in MW)Generation PLFMA%Generation PLFMA%Generation PLFMA%Generation PLFMA%Generation PLFMA%Generation PLFMA%

Please suggest if its possible in Qlikview and if it is how can we achieve it ?

5 Replies
Not applicable
Author

Hi,

It is better if you describe your issue in detail with sample file and desired output.

SergeyMak
Partner Ambassador
Partner Ambassador

Hi,

Please share a data-sample and expected result.

It will give you the result faster..

Regards,

Sergey

Regards,
Sergey
Not applicable
Author

Please Find the Attachment @

Test 1 output : i have achieved this

Test 2 Output : I want it like this

Not applicable
Author

For you to have that desired Pivot Columns, you should create it as a field in Qv.

it will be a great help for us to check your problem if you can send us your Qv File.

regards,

Charles

SergeyMak
Partner Ambassador
Partner Ambassador

You have two datatypes:

First - Time (Month, Day, For The Year)

Second - Actual and Budget

So you need two additional columns:

TimeType and DataType

For Every Actual field in Load script you have to add "Actual" and Budget - Budget

etc.

Then you can use these fields to create a Pivot Table

Another case you can add two fake columns to your chart, and drive your expressions depending on the value

ValueList('Day','Month','Year')

ValueList('Actual','Budget')

but I think it's just more complex..

Regards,
Sergey