Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Grouping in Pivot table

Hello,

Is there any way for grouping "unit of price" in a pivot table .(Example)

with Scale in 10000 unit.

unit of price :

0 to 10000

10001 to 20000

20001 to 30000

30001 to 40000

.....

.....    to 13395000

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can use a calculated dimension with the class() function (or create an additional field in your load script using the same function).

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Saeed

Try adding a Calculated Dimension of :

     =round(DastyarSale_Data.Fe, 10000)

You probably want to sort by it as well.

Best Regards,     Bill

Not applicable
Author

YEs.

try to create in lo ad script a new dimension as:

....

load

unitprice,

if(unitprice>0 and unitprice<10000, 'group1',

      if(unitprice>10001 and unitprice<20000, 'group2',

              if(unitprice>20001 and unitprice<30000, 'group3'))) as Grouping,

....

So Grouping is a dimension for use in presentation.

REgards

MArio

swuehl
MVP
MVP

You can use a calculated dimension with the class() function (or create an additional field in your load script using the same function).

Not applicable
Author

Thanks Friends.