on 05-23-2016 6:14 AM
Hello Everyone,
I am working on BPC 10.1 on HANA System. My requirement is below. I have gone through number of threads couldn't found exactly what I was looking for.
In My report, I am getting data say in Thousands, Lacs, Millions but I want to see all figures divide by 1,00,000 which is mentioned in Expected BPC Output column. I could get Number formats in other threads if someone wants to divide by 1,000 or 10,00,000 but not if I want to divide by 100000
Actual Figures | Expected BPC Output |
40,00,000 | 40.00 |
4,00,000 | 4.00 |
40,000 | 0.40 |
4,000 | 0.04 |
Currently I am using Number Format as #0","##,;-#0","##,
This number format gives wrong result in case of if Actual figure is 4,000 then it gives 0.4 instead of 0.04.
Kindly provide your input on the same.
Hi,
PLease check below link:
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Thanks for your reply. I was able to get number format what I wanted as you had shown. When I apply same format in BPC Report formating sheet, I am getting %% behind the numbers. I had given Ctrl J which sends %% sign down in the next line to hide it but it's not working in BPC report when I refresh it.
Did you format correctly in BPC report ?
Hi Vadim / Rahul,
The only problem I am facing is... Once I give the number format and refresh the report it works fine. After that I saved report and closed it. After that I opened report once again and my format gets changed and I get result multiply by 10. Ex. if Revenue is 9 then it shows 90.
Appreciate your input / help in advance.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
The format what you have shown above is working absolutely fine for me but I wanted to have it divided by 100000 and not 10000 so my format should be 0.00,,,<CtrlJ>%%.
Once you give the format mentioned above and refresh then we can see desired result but immediately after refreshing also if you go back to Formatting sheet then it converts to the format 0.00,,<CtrlJ>%%.
Can you try my format in your report and share your result ?
Thanks once again.
Thanks Vadim,
That is what exactly I did all the time and added THREE "," but once I save it, close it and open it, My format gets converted to 0.00,,<CtrlJ>%% - TWO ","..
I tried this in 3 different systems and I got the same issue. Currently I am in MS Office 2013. I tried this in MS Office 2007 also and found the same issue. 🙂
Anyway thanks for all your help and support. I will continue try to find out if I get anything and update on this thread.
Ups, looks like I was able to reproduce the issue!
And the issue is not related to BPC - Just pure Excel file with single cell formatted with
0.00,,,<CtrlJ>%%
After saving and reopening will convert it to 0.00,,<CtrlJ>%%
The only workaround is to use VBA code at on open to restore format:
ThisWorkbook.Worksheets("Sheet1").Range("C4").NumberFormat = "0.00,,," & Chr(10) & "%%"
Vadim
Hi Vadim,
Thanks for your reply. I have written the VBA code as you have mentioned above. I was able to get the expected result in column C using VBA Code but it shows % sign behind. Please find below screenshot for your reference.
Excel Output
VBA Code
But once again after I saved it, closed, open it and got the same issue 🙂
Thanks for all your help and support once again.
You have to put this code in the proper function an also format wrap and vertical alignment:
Private Sub Workbook_Open()
Dim rngFormat As Range
Set rngFormat = ThisWorkbook.Worksheets("Sheet1").Range("B1")
rngFormat.NumberFormat = "0.00,,," & Chr(10) & "%%"
rngFormat.WrapText = True
rngFormat.VerticalAlignment = xlTop
End Sub
Vadim
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.