Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

calculated dimension or expression

Hi All,

I want to create a calculated dimension which shows the Minimum date and another calculated dimension which shows maximum date.

In the data for each person a Fromdate and Todate is generated, whenever he booked the contract and ended that contract.

Eg- ID 1011 has many from and todates, and because of that Amount is repeated.

Eg- Similarly in ID , 1146 the amount is repeated  everytime there is different from and todate

I am not interested in all the line items, but only the begining FromDate and final ToDate of the whole contract. So that i can only see one total Amount.

To achieve this, i think i have to create a calculated dimension.

Could anyone help me with that please..

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Like this?

Use Updated Version..

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Like this?

Use Updated Version..

DavidFoster1
Specialist
Specialist

Use the AGGR statement to do the calculation

AGGR(MIN(FromDate),[ID]))

surajap123
Creator III
Creator III
Author

Thanks guys !!