I'm facing what is probably a stupid problem but cannot find how to do it.
On a Time dimension Year-Month-Day, the month part is defined on an Olap cube from a Dim_time table with several values, among them
Month_Name (January, february, etc)
Month (the numeric value)
The Month of the dimension is defined with
NameColumn -> Month_name
ValueColumn -> Month
Now, we are using it on report builder and were trying to create a calculated value on a dataset with an expression using Fields!Month.Value ...
What happens? Easy ... Fields!Month.Value values are "January" "February" etc, but we need the numeric value in our calculation (something as easy as iif(Fields!Month.Value>=month(today),xxxx,yyyy), so in fact the expression doesn't work.
We couldn't find any way to access the numeric value of the field.
Any idea?
Thks