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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Learnerr
Contributor III
Contributor III

Double records in the Expression Part

Hi,

I made a table in the front part.

 

My colums are names,training names,teacher name and my expression is the sum(time) of the education.

 

The problem is: Some participants took the education from different teacher so the time comes double for those people. How can i make a sepaeration to say that take only 1 teavher for a 1 participant.

 

Thanks.

1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try:          Sum(Distinct Time) 

View solution in original post

7 Replies
tresB
Champion III
Champion III

Try:          Sum(Distinct Time) 

Learnerr
Contributor III
Contributor III
Author

Yes but i would like to say sum(time) when my dimension"unique teacher"

Learnerr
Contributor III
Contributor III
Author

Because some students take same education from different tutors. I would like to say sum(time) when my dimension is a distinct teacher

tresB
Champion III
Champion III

Since teacher is one of your dimensions, it should work fine. If not, try to explain with an example.

Learnerr
Contributor III
Contributor III
Author

In simply how can i write this in the expression part:

One of my dimension: Teacher

Expression: Sum(Time)

 

I would like to say that sum(time) when Teacher is unique.(distinct)

tresB
Champion III
Champion III

I am not sure if I understood right, to avoid other dimensions impact - you could right an expression like:

Aggr(Sum(Distinct Time), Teacher) 

Learnerr
Contributor III
Contributor III
Author

Sm_0-1644309479472.png

With this table i tried to explain:

I extract data from SAP. Some participants is recorded to sap that took a training from 2 tutors. I would like to say while calculating  sum (time) tell me only   the time from a single tutor for a participant.