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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Max Date Values not showing in Report

Dear All,

            In my report i used following condition, its not working without selection

     = sum(if(Date=MaxDate,remainingOutgoing))

For Eg.

if i select customer No. C000003 then it showing the Value, if i press clear button then its not showing on the report.

Can any one help me!

Regards,

Antony.

12 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     if you are using this in listbox ot textboxm it will not work because Date is a field and contains many values.

     What you can do is create a Straight table-> give dimention as Date and use the above expression in expression.

     This will work. or else upload the qvw.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

I used the Expreesion in Straight Table but its not working....

Not applicable
Author

Hi,

Please find attached Application...

Regards,

Antony.

Not applicable
Author

Please check the feild "Remaining"

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    It will not work, as i said earlier Date is not a single value. When you give dimension as Date the expression takes Each date. The reason is each row of a date dimnension is a single date and which can be compared with your maxdate.

   Think about your expression it. sum(if Date= MaxDate,........) what date you expect to be comapred with MaxDate.

 

   I hope you understood the problem

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    You can use set analysis like Sum({$<Date = {$(#MaxDate)}>}remainingOutgoing)

   

    This will give you the sun only if you have customer with remainingOutgoing on your MaxDate.

    I hope this will help you

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

i did not understand above issue....

how do i solve this problem any idea???

Regards,

Napolean.

Not applicable
Author

Hi,

     i tried below set analysis, its not working

Sum({$<Date = {$(#MaxDate)}>}remainingOutgoing)

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    Can you tell me what data you want in Total.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!