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

Lower level not sum to the next level.

I have a table with various levels of data. But I can not do calculations with the lowest level to reach the higher levels, and can only show the values already reported these levels.

Example:

RegionCompanyCategorySizeDistribution
SCMy5
SCMyBaby Clothes4
SCMyBaby ClothesP2
SCMyBaby ClothesM1,4
SCMyBaby ClothesG1,3


Thanks.

Tonial.

4 Replies
Not applicable
Author

Somebody help me?

Not applicable
Author

What do you want calculate? I don't understand.

Not applicable
Author

Region should be selected to show the value of the first row, value (5).

if you select the size M, I show the value of the 4 line, value (1,4).

Not applicable
Author

Size P, M, and G show the value "4". if it's correct you can use the follow:



Data:
LOAD * INLINE [
Region, Company, Category, Size, Distribution
SC, My, , , 5
SC, My, Baby Clothes, , 4
SC, My, Baby Clothes, P, 2
SC, My, Baby Clothes, M, "1,4"
SC, My, Baby Clothes, G, "1,3"
];
JOIN
LOAD Region, Company, Category, Distribution AS NewDistribution
RESIDENT Data
WHERE Size='';


Regard,