Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show latest 15 weeks data

Hi All,

I have my data as below

 

YearWeekSales
201534220
201535221
201536222
201537223
201538224
20161225
201626226
201627227
201645228
201646229
201647230
20171230
20172230
20173230

Now in my bar chart i have to show only latest 10 weeks data .Irrespective of the year .so that i shud get the below data in my charts

201538224
20161225
201626226
201627227
201645228
201646229
201647230
20171230
20172230
20173230

How can i achieve this?

4 Replies
tresesco
MVP
MVP

May be like in attached sample.

enriquem
Creator
Creator

Hi,

1. You must go to the dimension limit's tab and in the limit area check the check box, in which you can read somethin like: Restringe what values to show.

2. Select the first option in the radio button, and select the 10 higher values

3. It's important (or not) that you deselect the Option area check box, even what are you looking for.

The result looks like this:

Captura.PNG

4. Now you must go to the Expressions tab

5. Create a new Expression with your week field. It's important that you order this expression the first, and then you make it invisible to don't see the result. Additionally you can deselect the check box in the options of representation area.

The tab will be like:

Captura.PNG

Regards.

Kind Regards,
Enrique Mora.
Not applicable
Author

Yea..But i have to display as a bar chart.

enriquem
Creator
Creator

So then, create a 2nd expression with the value that you wanted to examine, like you do it when create a normal bar chart

Kind Regards,
Enrique Mora.