on 02-13-2018 3:58 PM
Hi All, I have two questions, I have a bex query connected to webi.
1) I am using a standard Formula from query structure for webi. One of the measure is Var %, in webi its availabe as Var % and Var % Formatted value. I have to use the Var % Formatted value because Var % shows too many decimal places and its non formatable. If I use Formatted value object and try to create a conditional formatting than its giving wrong results. I am not sure why the format condition is not working on directly?
2) Instead I forund a workaround and made a variable for Var % =
=If (IsError([Sales P1]/[Sales P2]*100-100) ;0 ;([Sales P1]/[Sales P2]*100-100))
but the results are showing me values in . instead of , for example 9.40 instead of 9,40. Does anyone knows which formula to apply so that I can get comma instead of dot.File attached
if you want to use any measure object in the calculation then it's data type should be number.
For your question to replace dot with comma you can use replace function in webi but after that you will not be abale to do the calculation on the variable.
Var % =Replace(If (IsError([Sales P1]/[Sales P2]*100-100) ;0 ;([Sales P1]/[Sales P2]*100-100));".";",")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit, thanks. I am just new to webi so I am really thankfull to you for your suggestions. I found out that the measure was a string in webi (not sure its a bug) as i expected it to be a number. I converted the string in to number by using
=ToNumber([Var %(1)]) and this works but when i use this some of the cells which are empty without values are giving #error messages. Can you suggest a formula which can remove these error messages or replace #error with 0
check functional help guide.
Apart from this i would suggest to close the question by selecting appropriate answer once your query is resolved.
Hi Amit, I will close it. One thing i am still finding an issue:
Value A is showing as a number in and KPI is showing as a string in webi. The result output is for example:
[Value A] = 10,000.23 and Tonumber([KPI]) = 12.6 % in webi
where ever in the BEx (RSRT) shows the opposite way
Value A = 10.000,23 and KPI = 12,6 %
Business wants the values to be in European format in dots instead of comma seperated and no decimals for Value A.
If i change the locale from England to (NL) then the KPI % values show error (#FOUT) while value is good.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.