Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, please help me, I need to create a table that every Product it returns me the dimension and the Sales values Amount in the same linnha but when Similar is different skip to the next line, as attached example.
Like this?
Script:
LOAD *,
'Product ' & AutoNumber(PRODUCT, SIMILAR) as ProductGroup;
LOAD * INLINE [
PRODUCT,SIMILAR, SALES, AMOUNT
AAAAAA,1, 10, 40
BBBBBB,1, 20, 50
CCCCCC,2, 30, 60
DDDDDD,2, 30, 60
];
Dimensions:
SIMILAR
=Dual(Aggr(Repeat(' ', RowNo()), ProductGroup), ProductGroup)
Expressions:
PRODUCT
Sum(SALES)
Sum(AMOUNT)
Hello, you're great, exactly what I needed
Awesome, please close the thread by marking correct answer if you got what you were looking for.
Qlik Community Tip: Marking Replies as Correct or Helpful
Best,
Sunny