Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS: Any UpperCase function in SSRS report

I am trying to display selected month, current month and last month names on my report. I am using

=Parameters!Month.Label ---> Jun 2016(selected)

=Format(Now(), "MMM") & " " & Format(Now(), "yyyy") ---> Dec 2016 (current) =Format(DateAdd("M", -1, Now()), "MMM") & " " & Format(Now(), "yyyy") ---> Nov 2016 (last)

But I need something like(JUNE 2016, DECEMBER 2016, NOVEMBER 2016 ). Any help would be appreciated. Thank you so much in advance.

like image 587
Ayesha Khan Avatar asked Dec 09 '16 10:12

Ayesha Khan


People also ask

Is Ssrs case sensitive?

SSRS is case sensitive and you can ensure that the available values in the report parameter are formatted consistently using the functions above.

How do you use a case statement in SSRS expression?

SSRS Case statement is basically one of the widely used program flow statements. It allows us to control the program flow and it's output when we have more than two flows/conditions to set. In other words, a case statement is an optimized version of a nested If statement.

How do you use a ceiling in SSRS?

First, add a Row Group which is a Parent of the existing top level group. In the Group By expression, enter =CEILING(RowNumber(Nothing)/50) where 50 is the number of records to be displayed per page. Be sure to leave the group header & footer boxes unchecked.


1 Answers

UCase Function

=UCase(Format(Now(), "MMM") & " " & Format(Now(), "yyyy"))

=UCase(Format(DateAdd("M", -1, Now()), "MMM") & " " & Format(Now(), "yyyy"))

like image 166
3N1GM4 Avatar answered Oct 29 '22 00:10

3N1GM4