Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Purushothaman
Partner - Creator III
Partner - Creator III

Cross Table Duplicate values

Hi Experts,

I had used Cross Table function and the fact tables load  with duplicate values. 

I am using the below expression to extract distinct values,  but It seems expression having error. 

Please help me to correct this expression:

Purushothaman_0-1664532066119.png

 

 Anyone, Please help!!

Thank you!!

 

1 Solution

Accepted Solutions
pcv_devo
Partner - Contributor III
Partner - Contributor III

Hi Purushothaman,

First of all, you should see why you are getting duplicates in the cross table. There is probably an incident there.

In any case, the function Aggr() returns an array of values for the expression calculated over the stated dimension or dimensions. You are not indicating that dimension of grouping in your expression.

You can read more about the Aggr function in the official documentation:

https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm

View solution in original post

1 Reply
pcv_devo
Partner - Contributor III
Partner - Contributor III

Hi Purushothaman,

First of all, you should see why you are getting duplicates in the cross table. There is probably an incident there.

In any case, the function Aggr() returns an array of values for the expression calculated over the stated dimension or dimensions. You are not indicating that dimension of grouping in your expression.

You can read more about the Aggr function in the official documentation:

https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm