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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

[ASK] why data aren't the same?

hello..

i have a problem with my data in qlikview

the data in sql server isn't the same in qlikview

when i try to run it on my sql server, the data is available from 29000 to -2500

the syntax on sql server :

select datediff(d,coraccountdetail.cicildate,coraccountdetail.paiddate) as buset

from coraccountdetail

order by buset desc

but when i list it on qlikview, the data is only available from 30 to -30

the syntax on qlikview :

=(Day(PaidDate)-Day(CicilDate))


why is it happen?

is there anyone able to help me?

i have the deadline sort and this problem occur

😞

FYI, in qlikview i try to load only 1 table that containt the data

many thx..

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

The Day() function returns the day of the month (1-31).

Use PaidDate-CicilDate if you want the difference in days.

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

The Day() function returns the day of the month (1-31).

Use PaidDate-CicilDate if you want the difference in days.

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Miguel_Angel_Baeyens

Hello,

Not sure about what you are trying to get in your chart, but using the Day() function in QlikView you are extracting the day from a date, so a range between 30 and -30 seems correct.

Not applicable
Author

@Jo

thx Jo..

it works

🙂

@Mig

thx for participating Mig..

it is done now

🙂