Hello Friends,
I've a scenario like as shown in the screenshot below, data was populating like that.
We like to change plan usage based on a logic which need to be changed dynamically according to user input range of calendar day.
for example:- If the user input is 1 jan 2014 - 14 jan 2014
plan usage for daily (usage frequency) need to be 14 i.e. (the difference between the range.)
plan usage for weekly(usage frequency) need to be based on count of which calendar week it was fell down, - 2
similarly monthly - 1
, quarterly - 1
& yearly - 1