Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
can i use same age bucket for different dashborad...with different day limits..??if so means how??????
Hi,
are you sure your data is like is this????
You can try like this
ZFIFO_Ageing:
LOAD * inline [
ZFStart,ZFEnd,ZFBucket
0,2,0-2 Days
3,5,3-5 Days
6,7,6-7 days
8,15,8-15 Days
16,30,16-30 Days
30,999999,>30 days
8,999999,>7 days
];
concatenate
//ZFIFO_Ageing1:
LOAD ZFStarts as ZFStart, ZFEnds as ZFEnd, ZFBuckets as ZFBucket inline [
ZFStarts,ZFEnds,ZFBuckets
0,2,0-2 Days
3,7,3-7 Days
8,15,8-15 Days
16,30,16-30 Days
30,999999,>30 days
8,999999,>7 days
];
IntervalMatch(ZF_Age)
Load ZFStart,
ZFEnd
Resident ZFIFO_Ageing;
Regards
Can you give us an example for the same ?
Hi sindhu,
you can create a same size of buckets by using class function.
and
you posted..can i create age buckets for different dashboards....means....plz elaborate with more details.
For one dashboard, i have to create limits like 0-2 days,3-5days like tht,
For other dashboard,i have to create limits like 0-2 days,3-7 days like dt,
if i create means its shows the all limits in same dashboard,bt i need nly specific limits for specific dashboards.
i mean to say,can i use the same age bucket for different dashboards
Can you pls share the In-progress version of the script you have so that we can give our suggestions on that?
A sample should be a good way to
your using same data in both the dashboards?
Ofcourse kalyani, but i have to use same data only...for diff dshboard....how can i do ths.
Hi sindhu,
you can create a same size of buckets by using class function.
Ex:
LOAD Name, DOB, Age
Dual(Replace(Class(Age,5),'<= x <','to'), Num(Class(Aage,5))) as Bucket
FROM
[..\Desktop\Book1.xlsx]
(ooxml, embedded labels, table is Sheet1);
you can't create a same size of buckets by using if.
Ex:
LOAD Name, DOB Age,
If(Date(DOB)>='01/01/1945' and Date(DOB)<='12/31/1960', 'Baby Boomers',
If(Date(DOB)>='01/01/1961' and Date(DOB)<='12/31/1980', 'Gen X',
If(Date(DOB)>='01/01/1981' and Date(DOB)<='12/31/1995', 'Gen Y','Gen Z'))) as Gen
FROM
[..\Desktop\Book1.xlsx]
(ooxml, embedded labels, table is Sheet1);
what is your exact requirement sindhu...
you shared something limits on dashboards....can you please more detail,
then i will get clarity on your ..scenario.