Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
krishnakv83
Contributor II
Contributor II

Last 10 days in list box

Team,

Can you give sample set analysis formula to show last ten days  in the Dates lsit box.As of now date field has 40 records

I want to give option to select last 10 days data to users.

Regards,

Venkat

6 Replies
big_dreams
Creator III
Creator III

If you have already date field

then create list box with expression like

if(dateField > = date(Today()-10),dateField)

Regards,

snehamahaveer
Creator
Creator

HI Venkat,

The above response by Max will highlight the last 10 days automatically. However, if you wish your users see only the last 10 days, then tick 'Hide excluded' on General tab of list box properties.

Regards,

S

big_dreams
Creator III
Creator III

Hi,

It will not highlighted, It will reduced date in list box. User can select from from it.

Here we have to create list box using expression.

Regards,

krishnakv83
Contributor II
Contributor II
Author

want to show the last 10 days in the table. Can I use same expression in the table expression or I should create?

Regards,

Venkat

big_dreams
Creator III
Creator III

yes you can use it as dimension..

or modify it in set analysis i.e. in measure.

Regards,

krishnakv83
Contributor II
Contributor II
Author

I have a two tabs one for 10 days and other for last 40 days.

Created separate list box for both tabs. Now Can I use same condition to filter the data for last 10 days in the first tab? In table two dim nad 3 metrics are there.

Regards,

Venkat