Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dmohanty
Partner - Specialist
Partner - Specialist

Min(Date) in Calculated Dimension?

Hi All,

As per the above image I want to do 2nd Column - 3rd Column  to show as a Calculated Dimension.

The logic is the 2nd column should pick the Minimum of the Date value.

How can this be done in a Chart?

3 Replies
PrashantSangle

Hi,

In Dimension it is not possible.

Try it in Expression.

and showing difference between two date use Interval()

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 🙂
MK_QSL
MVP
MVP

=Interval(Aggr(Min([EDI Promise Date])-[Doc Create Date],[Supplier ID]),'DD')

timanshu
Creator III
Creator III

Hi,

you can do like this in expression to work:

=Interval(vMinDate-[Doc Create Date],'DD')

where vMinDate is variable defined as :  =Min([EDI Promise Date])

Expression gives No of Days that two dates differ.