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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
santharubban
Creator III
Creator III

Can help me

I have two Pivot tables one table is Taxonomy service and the other is Thershold please find in attachement.

Thershold value in taxonomy table should same for all months for Primary care taxonomy service similar for all service.

Primary care thershold value = 0.12

but Primary care thershold value in Taxonomy table value different value for each month.Its shouyld be same for all months.

Experssion here:

num(

(
num((COUNT({1<NOT_IN_FR = {0},RPT_MON = P({<RPT_MON =,Month=,YEAR=,DOS=>} DOS),SUBMITTER_ID = ,TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} DISTINCT ENCOUNTER_KEY)/

Count({1<SUBMITTER_ID = ,RPT_MON = P({<RPT_MON =,Month=,DOS=,YEAR=>} DOS),TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>}IPA_MEMBER_ID)),'#,##0.##')*12),'#,##0.##')

1 Solution

Accepted Solutions
Not applicable

since TOTAL ignores dimensions, to consider specific dimensions use:

TOTAL <dimension1, dimension2>

in your case try - TOTAL <'Taxonomy Group'>

num(

(
num((COUNT({1<NOT_IN_FR = {0},RPT_MON = P({<RPT_MON =,Month=,YEAR=,DOS=>} DOS),SUBMITTER_ID = ,TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} TOTAL <TAXONOMY_GROUP> DISTINCT ENCOUNTER_KEY)/

Count({1<SUBMITTER_ID = ,RPT_MON = P({<RPT_MON =,Month=,DOS=,YEAR=>} DOS),TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} TOTAL <TAXONOMY_GROUP> IPA_MEMBER_ID)),'#,##0.##')*12),'#,##0.##')

View solution in original post

11 Replies
Not applicable

Hi

Did you try TOTAL statement in your second expression.?

santharubban
Creator III
Creator III
Author

can tell where to use total ?

Not applicable

num(

(
num((COUNT({1<NOT_IN_FR = {0},RPT_MON = P({<RPT_MON =,Month=,YEAR=,DOS=>} DOS),SUBMITTER_ID = ,TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} DISTINCT ENCOUNTER_KEY)/

Count({1<SUBMITTER_ID = ,RPT_MON = P({<RPT_MON =,Month=,DOS=,YEAR=>} DOS),TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} TOTAL IPA_MEMBER_ID)),'#,##0.##')*12),'#,##0.##')

Not applicable

use aggr function with your month or date field.

santharubban
Creator III
Creator III
Author

it didn't work..

santharubban
Creator III
Creator III
Author

it didn't work..

santharubban
Creator III
Creator III
Author

can anyone help me

Not applicable

I haven't tried this but you just need to know where the TOTAL should be placed. TOTAL tells the expression to ignore the dimension/s similar to how {1} tells the expression to ignore selections.

Try this - (also use TOTAL for the numerator)

num(

(
num((COUNT({1<NOT_IN_FR = {0},RPT_MON = P({<RPT_MON =,Month=,YEAR=,DOS=>} DOS),SUBMITTER_ID = ,TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} TOTAL DISTINCT ENCOUNTER_KEY)/

Count({1<SUBMITTER_ID = ,RPT_MON = P({<RPT_MON =,Month=,DOS=,YEAR=>} DOS),TAXONOMY_GROUP = , CLAIM_TYPE= ,REGION =, IPA_Type=,YEAR=,Month=>} TOTAL IPA_MEMBER_ID)),'#,##0.##')*12),'#,##0.##')

santharubban
Creator III
Creator III
Author

I try the above expression,but it didn't work. I am getting total of all taxonomy services.