A) Are you using multiple data providsers?
B) Ask your data architect and/or universe designer to incorporate a smart calendar table to handle such things.
I think there is something wrong with the variable formula you posted. The ’ brings me an error. If i remove it, I do not encounter a error but it returns “Y” for every month. I tried something similar to that but with 1 and 0 instead. I am guessing that I am having problems with the IF satements.
Could you attach your file for me to look at? Unfortunately, my information is confidential or I would atach my file. I am not interested in getting fired!
Do you think it matters if I am trying to filter this in a crosstab.
Essentially, I have a chart with monthly, quarterly, and yearly billings side by side along with many other categories. I want to do this with the fewest amount of providers as possibles as BO is REALLY slow, and I am very interested in a quicker file.
The basic issue you’re facing is that the “Where” clause does not allow anything other than equality (meaning = ) tests. So the suggestion you were offered is a typical workaround for that.
It’s covered in this FAQ if you want to look at another example.
However, I completely understand the concepts and am using them already. The problem is that if I use the variables instead of static values, I get an error, #IERR.
In those cases, I often start with a very basic block (table) that contains all of the elements that you are working with. Get the formula working, then start removing objects that you don’t want displayed. The #IERR often comes because you have referenced something in a formula that is not present in the block. Being in the data provider is not enough, it has to be in the block if it is part of the formula context.
Month, Sales Area, Billings, and Billings (to be applied the code.)
Variable: current_month (dimension)
“dynamic:”
= If (<Month (Mmm'YYYY)(results)>=<Month (Mmm'YYYY)(current)>) Then "Y" Else "N"
static works perfectly:
= If (<Month (Mmm'YYYY)(results)>='4/1/2006') Then "Y" Else "N"
Column filtered for month
=<Bill. Net (Val)> Where (<month_current>="Y")
It returns the #IERR error. Am I correct that you wanted me to throw everything into block and then hide the stuff i did not want displayed? In this case, it would be month.
I have also tried the inlist method. everything works when I enter in static values instead of the variable.
The current provider returns one row of results and the data matches perfectly and is linked.
could this be a problem with the way the universe is setup?
The problem could be that Month (Mmm’YYYY)(current) is not within the datablock. If this is the case, you could use calculation contexts to deal with the issue.
Hi,
if any of your variable which is being used in the another vaiabes calculation then you must have that variable hidden even though it’s not being used in the report