It seems that there is no such function and the investment is not easy to calculate. For example, you invest 10000, earn 20000, redeem it, and then invest this 20000. For the system, you invest 30000, but in fact your principal is only 10000, which is unclear and meaningless.
But you can check the accumulated income. Click on my total assets, account analysis, income, and the date of change since I opened the account.
Or you can check your annual income.