on ‎2023 May 04 12:45 PM
Hi All,
I am creating a report in excel using the SAPGETDATA formula. I'm getting a #VALUE! error on refresh but when I click into the formula itself and click out the formula displays the correct value although if I refresh the workbook again, the #VALUE! error comes back.
I have tried hard coding dimensions, getting rid of any excel formatting, excel fixes related to the number type/text, recreating the formulas from scratch, using a data source instead of a table as the SAC source but nothing seems to work...
Has anyone else encountered this error before and knows how to fix the issue?

Request clarification before answering.
Thanks for your input everyone.
The formula was working fine but there was a missing currency rate so the issue was actually with the underlying data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
seamustaylor88
I can see you are comparing the value returned by GETDATA() with "-" (unbooked) condition. The return from GETDATA() is not of type string so may be the comparison with "-" (quotes will make it string") is causing issue. I tried to recreate your logic at my end. See below.
I have SAP.GETDATA() for 3 months. January is unbooked.


Now I just compare if SAPGTDATA for january is 0 then SAPGETDATA for february else january

I don't see any issue at all.
Hope this helps
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi seamustaylor88,
please o through with this link https://help.sap.com/docs/SAP_ANALYSIS_OFFICE_CLOUD/b25c777a2c8c4e3da2f472cce24f289c/40a626bf6c65465...
if this is helpful for you then please upvoted or accept this answer .
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.