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: 
savithri_n_s
Contributor III
Contributor III

Expressions

Hi Sunny,

Thanks for helping me

Can you please tell me what is wrong in the below expressions and also how to add average column in straight table in sheet5 as

shown below (3.)

1. count({<[Data Source] = {'CX Managed','Cx Managed'}, [Assignment State]= {'Effective','Effective-OnBoard'},DISTINCT([Client - Normalized])>}[Client - Normalized]

2. (sum({<[Data Source] = {'CX Managed','Cx Managed'}, [Assignment State]= {'Effective','Effective-OnBoard'},sourcingmethod={'Requisitioned'}>}
If([Assignment Start date] >=MonthStart(Date#(Left(SubField([Current Month/Year], ',', 1), 3) & ',' & SubField([Current Month/Year], ',', 2), 'MMM, YYYY')) and [Assignment Start date] <= MonthEnd(Date#(Left(SubField([Current Month/Year], ',', 1), 3) & ',' & SubField([Current Month/Year], ',', 2), 'MMM, YYYY')), [Data Source]))/
Count({<[Data Source] = {'CX Managed','Cx Managed'}, [Assignment State]= {'Effective','Effective-OnBoard'},sourcingmethod={'Requisitioned'}>}
If([Assignment Start date] >=MonthStart(Date#(Left(SubField([Current Month/Year], ',', 1), 3) & ',' & SubField([Current Month/Year], ',', 2), 'MMM, YYYY')) and [Assignment Start date] <= MonthEnd(Date#(Left(SubField([Current Month/Year], ',', 1), 3) & ',' & SubField([Current Month/Year], ',', 2), 'MMM, YYYY')), [Data Source])))

3.

   

US_GU_RES_OG - Metric NameSep-17Oct-17Nov-17Dec-17FY18 Average
# of Active NA Cx Managed Contractors456475468436466
# of Active Direct Sourcing Contractors **2926252527
# of Active NA Cx Enabled Contractors6462585761

11 Replies
shilpan
Partner Ambassador
Partner Ambassador

Issue seems to be with your data model. Can you use current month instead of current month/year?

savithri_n_s
Contributor III
Contributor III
Author

Hi patel

Thanks I will check.it would be great if you can tell me you to add fy18 average column as shown above?