on 04-26-2022 11:21 AM
I have found date difference between two dates. Then i try to group the date difference using measure based dimension like 0 to1 day, 2 to 3 days and above 3 days given measure as the date difference.Then using that dimension i have created each group using aggregation in calculated measure. But all the values coming under above 3 days group. But lots of value o to 3 days. Nothing is showing in that group. I can't find out the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreelakshi G,
I think you are looking for Ag ing Buckets right?
If yes then you can calculate the Buckets 0-1,2-3,Above-3 using calculated measures
Logic for Bucket 0-1days= If (Datediff >0and Datediff<=1,Amount,0)
Like this you can do further buckets.
Hope this helps you!
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your scenario,
DateDiff = Date a- Date b.
DateDiff consists of no of days, right?
Here, you can split the days as 0-1 days and 1-2 days, and above3 days.
use the calculated measure,
(0-1days) = if ( DateDiff>0 and DateDiff<=1,Totalcount of shipment,0)
(0-2days) = if ( DateDiff>1 and DateDiff<=2,Totalcount of shipment,0)
Above3days = if ( DateDiff>2 ,Totalcount of shipment,0)
This scenario will work!
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.