Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
amit_saini
Master III
Master III

Table Cal help???

Hi Folks ,

See below:

I'm using pivot table , from level1 to Level 5 name are my dimensions and Quantity and Price are expressions .

I'm simply calling Quantity  and Price fields as expression .

Problem here is I'm getting duplicates numbers or values see below :

And If I'm calling only Level 1 and Level 1 Name as dimension and Quantity as expression I'm getting only single value .

My requirement here is to show all levels with there respective names as in image but Quantity and Price figures should not repeat.

Any Suggestion???

Thanks,
AS

29 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Try with

Sum(price)

sum(qty)

as expression

let me know

sujeetsingh
Master III
Master III

Confused ...can you post a sample or come in more words.

amit_saini
Master III
Master III
Author

Hi Sujeet,

Please see the attachments.

Here for number "1024936001"  in Quantity I'm getting duplicate values like 1700, 1700

Thanks,
AS

amit_saini
Master III
Master III
Author

Also in my previous comment see the image , each number is having some relation on different level . See color combinations .

Thanks,

AS

amit_saini
Master III
Master III
Author

sorry not working.

Thanks,
AS

amit_saini
Master III
Master III
Author

Hi Sujeet

Not sure if we can do this with  Dimensinality() function. I tried but no results.

Thanks

AS

saumyashah90
Specialist
Specialist

Hi Amit,

IT seems you have 1-N (one to many relation ship)  i.e for Level1 you have 2or more values for other levels.

You will  get two values if you take all levels as dimensions

amit_saini
Master III
Master III
Author

Saumya,

Yes u are right I do have 1-N relations and that's why i m getting duplicates .

If I restrict this to only one level I'm getting perfect result but user want to see all levels with   and I'm struggling here.

Thanks,

AS

saumyashah90
Specialist
Specialist

Option1) Use Pivot Chart showing only Level1 and quantity.Once user clicks on + sign he can check other levels(but this will show duplicates in the end result)

Options2) You may have to change the script using GroupBy function

Option3)Try using other levels in expressions instead of Dimensions(this might get you null values)