Skip to content

Commit

Permalink
Merge branch 'migration---show-past-six-months-in-chart' of https://g…
Browse files Browse the repository at this point in the history
…ithub.com/SSWConsulting/SSW.Rules.Content into migration---show-past-six-months-in-chart
  • Loading branch information
jeoffreyfischer committed Mar 25, 2024
2 parents ea24924 + f2cd57a commit 0ebc2ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rules/show-past-six-months-in-chart/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ redirects: []
When you are working with reports that use time-based data (sales figures, employee productivity etc.), it is handy to see how you went this month compared to the past 6 months. The best way to show this is on a bar chart.

::: good
![Figure: Good example - Use of bar chart to show the past 6 months of totals at the end of your report for easy comparison](RSRules6MonthChart.gif)
![Figure: Good example - Use of bar chart to show the past 6 months of totals at the end of your report for easy comparison](RSRules6MonthChart.gif)
:::

To do this:
Expand All @@ -45,7 +45,6 @@ ORDER BY

3. Configure the new added parameter 'pEndDate'


![Figure: Change Data Type to DateTime and assign to the proper default values](RSRules6MonthChart_AddParameter.gif)

4. Add a chart to your report in Layout view and change its type to "Simple Column".
Expand All @@ -62,4 +61,4 @@ ORDER BY

```sql
=iif(Right(Fields!Y.Value, 2)=Month(Parameters!pEndDate.Value), "Blue", "Green")
```
```

0 comments on commit 0ebc2ee

Please sign in to comment.