Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
bsbernabe
Creator
Creator

Pivot Table header expand

Hello There,

What my concern is how to use pivot table base on report i try to use it but I'm failed, i need to count all Agreement ID base on Trans_Date and this is what i did:  =num(count({$<[Agreement ID]= {'*'}, Tran_Date=>} [Agreement ID] )) i got 94 )which is correct then i need to count (DPD)= {91} base on  MonthYear and  [Agreement ID] that was connected at  Agreement ID into sales sheet count all Agreement ID in as of date that match in Agreement ID at sales sheet i have attached file for my sample data source.

relation.png

 

 

 

The goal is to display the Trans_Date and total count of Agreement Id in Sales Sheet and expand as of date in header below is the output of what i need.

 MonthYearMay,2015Jun,2019
Tran_DateTotal Count  
Jan,2015942017

also in as of sheet counting the Agreement ID happen just once, sample if this Agreement Id =133414 already count in a month of May,2015 and also this Agreement ID is existing in month of Jun,2015 no need to count.

Thank you for your help,

Best regards,

Bing

Labels (1)
1 Solution

Accepted Solutions
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Modified some of your scripts and front end expressions:

MC.PNG

Refer qvw attached as reference.

Thanks and regards,

Arthur Fong

View solution in original post

5 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Can you attach a sample qvw?

bsbernabe
Creator
Creator
Author

Hello Arthur,

 

Attached file is my sample qvw.

 

Best Regards,

Bing

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Modified some of your scripts and front end expressions:

MC.PNG

Refer qvw attached as reference.

Thanks and regards,

Arthur Fong

bsbernabe
Creator
Creator
Author

Thank you so much very helpful, great support highly appreciated.

Note: additional question  if ever i want to Count (DPD) > {'100'})[Agreement ID]) how can i do that?

 

Best Regards,

Bing

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

count(if ( DPD>100, [Agreement ID]))