Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
JD_2024
Contributor
Contributor

Cumulative values without nulls and Regressive cumulative in just one column-Pivot Table

Hello All,

I would like to request your assistance to build a Pivot table in Qlik Sense that uses the same logic that was built in the below table. 

JD_2024_0-1707386751037.png

I was able to build this.

JD_2024_1-1707386823061.png

Please let me know your comments on this!

Thanks.

Labels (1)
1 Solution

Accepted Solutions
brunobertels
Master
Master

Hi 

create a crosstable with 

 

dimension 

Date

Hour 

and another dimension using valuelist fonction 

valuelist('New','Pending','Closed','Archived','Total') 

And a mesure with if statement 

if(

valuelist('New','Pending','Closed','Archived','Total') ='New' , 

mesure for New here , 

if(

valuelist('New','Pending','Closed','Archived','Total') ='Pending' , 

mesure for Pending here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Closed' , 

mesure for Closed here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Archived' , 

mesure for Archived here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Total' , 

mesure for Total here ,

))) ) )

 

Then for each mesure you may be need to used aggr funciton , set analysis , total identifier and nodistinct identifier . 

 

Hope it helps 

 

View solution in original post

2 Replies
brunobertels
Master
Master

Hi 

create a crosstable with 

 

dimension 

Date

Hour 

and another dimension using valuelist fonction 

valuelist('New','Pending','Closed','Archived','Total') 

And a mesure with if statement 

if(

valuelist('New','Pending','Closed','Archived','Total') ='New' , 

mesure for New here , 

if(

valuelist('New','Pending','Closed','Archived','Total') ='Pending' , 

mesure for Pending here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Closed' , 

mesure for Closed here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Archived' , 

mesure for Archived here ,

if(

valuelist('New','Pending','Closed','Archived','Total') ='Total' , 

mesure for Total here ,

))) ) )

 

Then for each mesure you may be need to used aggr funciton , set analysis , total identifier and nodistinct identifier . 

 

Hope it helps 

 

JD_2024
Contributor
Contributor
Author

It works! Thanks