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: 
Not applicable

qvd issue ? urgent

Hi All,

I have a qvd  data with no.of customer codes..

for testing purpose I have taken randomly 3 customer codes in Excel , I have worked on that..

So Balance amount & Overdue amounts are coming fine with that 3 customer codes ...

When I am using QVD by replacing that Excel, I am getting Overdue amount Entire column is Zero...

Help me on this ..

Regards,

Helen

Labels (1)
13 Replies
anbu1984
Master III
Master III

Can you post the script

maxgro
MVP
MVP

and qvd and xls?

Not applicable
Author

FT_OS:

LOAD 

  OST_MAIN_ACNT_CODE as MS_MAIN_ACNT_CODE,

  OST_SUB_ACNT_CODE as CUST_CODE1,

  OST_SUB_ACNT_CODE,

  OST_DOC_NO,

    OST_DRCR_FLAG,

if(isnull(OST_FC_ADJ_AMT),0,OST_FC_ADJ_AMT) as OST_FC_ADJ_AMT,

if(isnull(OST_FC_ORG_AMT),0,OST_FC_ORG_AMT) as OST_FC_ORG_AMT,

// Sum(OST_FC_ORG_AMT-OST_FC_ADJ_AMT) as DebtorsOutStandingAmount,

// if(OST_DUE_DT<Today(),sum(OST_FC_ORG_AMT-OST_FC_ADJ_AMT)) as DebtorsOverdueAmount,

  OST_DOC_DT,

  date#(date(OST_DUE_DT,'MM/DD/YYYY')) as OST_DUE_DT,

//  date(OST_DUE_DT)as OST_DUE_DT ,

  if(isnull(OST_FC_ADJ_AMT),0,OST_FC_ADJ_AMT)-OST_FC_ORG_AMT as diff_val

//from

//D:\DSO.csv

//(txt, utf8, embedded labels, delimiter is ',', msq);

Resident Gen where wildmatch(OST_SUB_ACNT_CODE,'100793','101242','102115');

Because of Date format for OST_DUE_DT & Today

Regards,

Helen

Anonymous
Not applicable
Author

Helen,

Maybe QV is not recognizing your number format. So try like this adapting your input and output number format:

load customer

        num(num#(amountfield, '0.#0'), '0,##') as amountfield

from yoursource;

Marc.

Not applicable
Author

Initially your QVD did not had the customer codes, did you recreated the QVD with new codes?

Not applicable
Author

In my QVD i am having Customer codes, For testing purpose I have take few customers...

=(Sum({<OST_DUE_DT={"<$(=today())"},OST_DRCR_FLAG={'C'}>}OST_FC_ADJ_AMT)-sum({<OST_DUE_DT={"<$(=today())"},OST_DRCR_FLAG={'C'}>}OST_FC_ORG_AMT))+

(Sum({<OST_DUE_DT={"<$(=today())"},OST_DRCR_FLAG={'D'}>}OST_FC_ORG_AMT)-sum({<OST_DUE_DT={"<$(=today())"},OST_DRCR_FLAG={'D'}>}OST_FC_ADJ_AMT))

Because of OST_DUE_DT date format this problem is coming...

robert99
Specialist III
Specialist III

Hi Betty

Have you read this blog post

http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/19/why-don-t-my-dates-work

point 1 especially

Although Im unsure why it would be the right date format loaded from Excel but not a qvd.

Not applicable
Author

My OST_DUE_DT is in format: 1/4/2010 12:00:00 AM

Today Date: 10/20/2014

I need compare this OST_DUE_DT with Today in Set Anaysis, SO that how can i convert my OST_DUE_DT in script....

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

I think this:

{<OST_DUE_DT={"<$(=Date(today(), 'D/M/YYYY hh:mm:ss t'))"}


HTH

Jonathan

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