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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
pirotfab
Creator
Creator

crosstable + calculated field

Hello,

I want to creat à calculated fiels (periode) to join my calendar and ma crosstable (budget).

Periode = year*12+month

year*12 it's ok but when i add the month, it comes out an error

If someone have an idea

thanks

1 Solution

Accepted Solutions
sunny_talwar

Try this may be:

BUDGET:

LOAD MOIS,

  ANNEE,

  COMPTE,

  SECTION,

  MONTANT,

  ANNEE*12+Num#(MOIS) as Periode

Resident BUDGET_DATA;

View solution in original post

5 Replies
sunny_talwar

Try this may be:

BUDGET:

LOAD MOIS,

  ANNEE,

  COMPTE,

  SECTION,

  MONTANT,

  ANNEE*12+Num#(MOIS) as Periode

Resident BUDGET_DATA;

pirotfab
Creator
Creator
Author

Thanks Sunny

with your help,

it's Num(Num#(MOIS))

sunny_talwar

I don't think you need the extra Num(). Have you looked at the attachment?

pirotfab
Creator
Creator
Author

ok i have not see the attachment ...

that it's ok too

thanks for all

have a good day

sunny_talwar

Not a problem. Have a good one.

Best,

Sunny