Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rajni_batra
Specialist
Specialist

Debts for more then 6 months(urgent)

Need to calculate amount of sundry debtors but for those having period more then 6 months and year as dimension in chart.

how can i crack this?????

5 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Put a conditon in the Year Dimension as below

If((SundaryDate-today() ) >180,Year)

And enable suppress null value.

Deepak

jagannalla
Partner - Specialist III
Partner - Specialist III

Hello,

Take Year as Dimension and put your expression as

Sum({<Datefield={">$(=AddMonths(Date(Max(Datefield),'DD/MM/YYYY'),-6))"}>} SundryDebtors)

Hope it helps you...

Cheers !!!

rajni_batra
Specialist
Specialist
Author

but i dont have any date field have year and month only and link date which is linked to calender

jagannalla
Partner - Specialist III
Partner - Specialist III

Rajini,

How are you getting Year, Month fields. Ok Ok i think you need to use link date. Otherwise can you please attach sample file with data.

deepakk
Partner - Specialist III
Partner - Specialist III

HI

You can create the date as follows..

if your yeamonth = 201009

then

makedate(Left(yearmonth,4),right(yearmonth,2))...

Deepak