What are you trying to do actually using Var function with Data provider? Explain your requirement. Because Var is a function to calculate variance taking number as input and not a string.
Sorry for the mess up. It is not Var function and it is variable name
I have created a variable Test
For Eg
Test = If DimensionName(DataproviderName) =“ABC” Then “” Else DimensionName(DataproviderName)
Dimension is used in more dataprovider.
When i include this Test Varible in the report. I don’t get any syntax error. But when i refresh the report i get syntax error and If i see the variable test syntax, dataprovider name of dimension is automatically removed.
Which causes the problem…
This is what your trying to do in your report…? If so, i think that your data provider name is different from the DP name you have given when created the report…please check it once…
Its better to copy your dataprovider name and paste it when your creating the variable… the object with the dataprovider name will come only if you have multiple dataprovider and both the data provider having the same object name…
Ya i agree and also know that the object with the dataprovider name will come only if you have multiple dataprovider and both the data provider having the same object name…
I tried one more thing: i used the Universe Dim Object directly in report. and when i refresh it i don’t find any error.
When tried using the same Universe Dim Object inside the report variable. and If i refresh the report then it causes the syntax error.
if i see the syntax of the report variable i could the syntax changed from Variable(Query1 with DP) to Variable. After Refresh syntax changes automatically
Could you post your report if possible…? if not, try a same type of report with efashion and if you the problem exist, send us the report designed with efashion…