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

Pivot table value bifurcate

Hi All,

I have two table with same column but different data I have achieve require output with individual pivot chart now i want to combine all these data with one pivot table.

For example :

I have table PQR and LMN in that I have location group wise data now i want to create chart like attached . I getting difficulties in that can anyone please help me out.

PFA...

1 Solution

Accepted Solutions
prma7799
Master III
Master III
Author

It is done by using straight table...

Thank for your reply...

View solution in original post

8 Replies
rohitraut
Creator
Creator

hello,

try this

First concatenate both base tables, then take a pivot table.

prma7799
Master III
Master III
Author

Hi Rohit ,

I did the same but I am not getting separate values it is added all values into the one value

shraddha_g
Partner - Master III
Partner - Master III

Link both table by field Location group and then try to create required chart.

rohitraut
Creator
Creator

Can you please share the sample data?

prma7799
Master III
Master III
Author

Hi Rohit,

I have concatenate both table with Flag am able to achieve the bifurcate but at Total level it adding all values

In the attached I getting all values as total but I want all Invoice total and for final total I want all invoice total - credit total.

shraddha_g
Partner - Master III
Partner - Master III

Share sample app to help you better

prma7799
Master III
Master III
Author

It is done by using straight table...

Thank for your reply...

qliksus
Specialist II
Specialist II

Just join the two tables based on LocGroup and Currency

LOAD * INLINE [
    Loc Group, Currency,  Amount (FC) ,   Amount (Rs.)
    ABC, EUR,  200.00 ,  140.00
    ABC, USD,  270.00 ,  183.00
    XYZ, AUD,  418.00 ,  212.00
    XYZ, EUR,  940.00 ,  677.00
    XYZ, GBP,  135.00 ,  110.00
    XYZ, INR,  -   ,  407.00
    XYZ, USD,  233.00 ,  158.00
];


LOAD * INLINE [
  
    Loc Group, Currency,  Amount ,Amount1
    Less , GBP,  273.00 ,  227.00
    Less , USD,  187.00 ,  126.00
];

And take the below values in the chart

Dimension: Loc Group, Currency

Expression: Purgechar(sum([Amount (FC)]) - (sum(Amount)),'-')