Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Range syntax

Hi

From DateTo DateMarks
010120141704201420
180420141704201515
160520141706201423
170620141708201421
170720141709201422

I want to take sum of Marks. For a range of dates.

can someone please help me the syntax of date range?

TIA

6 Replies
PrashantSangle

Hi,

Try like

sum(if(FromDate>=$(min(FromDate) and ToDate<=$(max(FromDate)))Marks))

regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
alexandros17
Partner - Champion III
Partner - Champion III

Cuold ypou explain better?

Not applicable
Author

I have a table with three columns.

Date, Debit and Credit.

How do I see the debit for a particular period?

Not applicable
Author

That did not work in my case.

I have a table with three columns.

Date, Debit and Credit.

How do I see the debit for a particular period?

I hope this helps you to understand the case better

rajkumarb
Creator II
Creator II

HI Arjun

Use Master Calendar

and Use Debit & Credit in Expressions

you Can Choose form Date Range

buzzy996
Master II
Master II

are u looking to see ur debit between two dates? if yes..u have to create & use 2 calendar objects one for from date and seconde for todate.

from date & todate objects u can create through ur date field.