Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show and sum values from person by year

Hello,

A question from a Qlikview personal edition user. I'm using an Oracle database with 2 tables which looks like the follow: (keep in mind that this is just a small part of it, the actual tables have many more rows and columns:

FCL_NUMMERPers_IDYEAR FROMYEAR TILL
61620311220082010
61620311120112020

FCL_NUMMERYearEUR PayedEUR income
61620312009€ 500,00 € 300,00
61620312012€ 2.500,00 € 4.500,00
61620312010€ 500,00 € 300,00
61620312013€ 2.500,00 € 4.500,00

Now i want a listbox with the following fields: Pers_ID, Year, EUR Payed, EUR Income. And a chart with the SUM of the EUR Payed and EUR Income of a Pers_Id by Year.

So i need something like only show values from Pers_ID when Year is in YEAR FROM / YEAR TILL, or maybe something else? Does someone know how i can solve this problem?

I hope im clear, if u have any questions, just ask. 🙂

1 Solution

Accepted Solutions
khadeer
Specialist
Specialist

write the following expression in ur dimension(Pers_Id) , Just edit that dimension in dimension tab,

if(Year=YEAR FROM or Year=YEAR TILL,Pers_ID)

and dont forget Surpress when value is null check box, if u dont want to display other ID's.

Send an excel sheet with some fields with respective value.

Let me know if any issues.

View solution in original post

2 Replies
khadeer
Specialist
Specialist

write the following expression in ur dimension(Pers_Id) , Just edit that dimension in dimension tab,

if(Year=YEAR FROM or Year=YEAR TILL,Pers_ID)

and dont forget Surpress when value is null check box, if u dont want to display other ID's.

Send an excel sheet with some fields with respective value.

Let me know if any issues.

Not applicable
Author

  Hi,

Thanks for your quick response, i did some changes to your expression (the Year >= YEAR FROM and <= YEAR TILL) and it works now! Thanks for the help. 🙂