Hi Vidas, thanks so much for work on Portfolio Slicer.
I've recently been getting an error upon refreshing the data (
http://puu.sh/zEhLF/147d0df982.png) which persists even when starting up a new portfolio and inputting from scratch.
Would love your help,
Thanks
Comments
To investigate this I will need you to send me your Excel workbook. But I am on vacation till 16th of March, so I will be able to look at this just after vacation.
Many thanks
Could you please send me again Excel workbook and also zipped files from the folder c:\PortfolioSlicer\PSData. My email is posted on this page: http://www.portfolioslicer.com/contact.html
With just an Excel file, internal refresh of Trans table worked without any error. So I want to try to refresh with external data and confirm if that is the cause for the issue.
I am able to reproduce error on Excel 2013 with your data. I am looking into this, as it appears as a bug with combination of data and cash tracking flag. For now you can quickly get rid of this error by simply removing column "Annlzd RoR" from Holdings tab report.
If you for some reason cannot remove it, I can send you updated workbook with that issue resolved.
For reference - old code: Updated code:
This error hasn't happened to me in the new updated version of the slicer.
http://puu.sh/AbRdA/a2da1e93e9.png
I have, however, started getting this message instead - is this a similar issue with a filter?
Many thanks!
THis is different issue.
So Error
"Report[Profit %] An argument of function "LN" has the wrong data type or the result is too large or too small"
This error usually indicates that Portfolio Slicer (PS) was not able to calculate Profit % or Capital Gain% or Dividend %, because at one or more months data did not make any sense. In many cases this happens when you track cash and in some month your cash balance is negative - that makes calculation of Profit % impossible, as negative cash balance makes any calculation meaningless.
In your case - you do not track cash, so there is a different issue. In your case issue is that you have symbol buy transaction, but you do not have quotes for that symbol, so there is a huge capital gain drop at the end of the "buy" month of total value to 0 and then next month that symbol gets dividends, but symbol total value is 0. So in PS profit % calculation goes nuts and reports an error.
So in Quotes.csv file you have symbol CBA, but in the Symbol table you have symbol "CBA.AX".
To fix this:
in Symbol table change CBA.AX to CBA and then remove Symbol Alias record that maps CBA to CBA.AX and then do refresh. First refresh attempt might still fail, but continue refresh second time and it should work.