Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: How to sort the X axis in Chart?

$
0
0

Hi Hu,

 

If you're trying to sort by the {DataTable_SHUIPING.周期} field, here's what you need to do:

 

1) Insert a Crosstab. Add the {DataTable_SHUIPING.周期} as a Row.

 

2) Next, add the {DataTable_SHUIPING.日期} as the second field under the Crosstab's Row

 

4) Add the field you've added under the 'Show Values section' of the Chart as the Summary Field and use the same summary function you've used in the Chart

 

5) Highlight field 1 in the Row of the Crosstab > Options > Options tab > Click 'Customize Group Name Field' > Click 'Use a formula' and use this code:

 

totext({DataTable_SHUIPING.周期},0) & "(" & totext(Date({DataTable_SHUIPING.日期})) & ")"


6) Right-click the Crosstab > Insert Chart > Change the Chart Type as required.


-Abhilash


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>