Hi guys,
I have a matrix with months in the group column from Jan thru Dec
I'm trying to implement a condition if the forecast indicator is found then put asterix at the end of the month.
Here is the formula
=SWITCH(Fields!HasForecast.Value=FALSE,MonthName(Fields!Periods.Value, True), Fields!HasForecast.Value=TRUE,MonthName(Fields!Periods.Value,True)&"*")
HasForecast is a boolean (bit) datatype.
What am I doing wrong?
The asterix is not showing up and no error
however when I put the formula with asterix (see below) without the condition, it works!
MonthName(Fields!Periods.Value,True)&"*"
I also tried the IIF statement and it didn't work.
By the way I'm using the IIF statement in the data to highlight the data that is Forecast.
I'm wondering if this condition won't work on the header.
Much appreciated.
Codernater