Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

AGGR

Hi Experts,

below is my requirement and example as atacehed(Ex)

display first Crisp name to avoid duplicates for unique combination (PARENT + CSA)"

And I have attached Ead dashboard which is current one.

Thanks you,

Priya

1 Solution

Accepted Solutions
priyarane
Specialist
Specialist
Author

Ruben has answered for this, you can check it on below link

http://community.qlik.com/message/712595#712595

View solution in original post

7 Replies
Gysbert_Wassenaar

Fix your source data so that BANK OF AMERICA NA is renamed to BANK OF AMERICA PBIS.


talk is cheap, supply exceeds demand
priyarane
Specialist
Specialist
Author

Hi Gysbert,

Its not only with BOFA, its I have shown that one example.

Thank you

Gysbert_Wassenaar

In that case fix the other faulty data too.

Or create a mapping table and replace the faulty values with the correct ones in the script:

MapNames:

MAPPING LOAD * INLINE [

Key, Value

BANK OF AMERICA NA,  BANK OF AMERICA PBIS

PELICAN BANK, VATICAN BANK

...etc

];

T1:

LOAD

     ...some fields...,

     applymap('MapNames', MyField) as MyField,

     ...other fields...

FROM ...


talk is cheap, supply exceeds demand
priyarane
Specialist
Specialist
Author

Hi Gysbert,

here its not the case. We need to group the data by CSAID and PARENT(Dimensions)

Total Dimensions in my pivot table/data like below

CrispName      Parent      CSAID   Period:  P0   P1   P2   P3

Citi Bank N    Citi            0                        100 10    20    3

Citi Bank PP  Citi            0                          2    3     5    8

Citi Bank TT   Citi            5                         1     10    55  88

Result like:

CrispName      Parent      CSAID   Period:    P0     P1   P2   P3

Citi Bank N    Citi            0                        102     13    25   11

Citi Bank TT   Citi            5                         1       10    55  88

Here Parent and CSAID should be unique.

Gysbert_Wassenaar

That's fine, but then either leave out CrispName or define the logic that determines which CrispName value is the correct one to display.


talk is cheap, supply exceeds demand
priyarane
Specialist
Specialist
Author


Hi Gysbert,

Not getting it, if you don't mind could you please elaborate.

priyarane
Specialist
Specialist
Author

Ruben has answered for this, you can check it on below link

http://community.qlik.com/message/712595#712595