Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi all,
I am dealing with the following issue:
My table consists of investmentID's and for every investment I calculated the returns (Dietz method). In order to link the returns per period to get the returns over a longer period I use the Modified Dietz method. This basically works by multiplying the returns per period. This is working fine on investment level by using PRODUCTX calculation. But...
Now I want to do this on portfolio level and this is going wrong because the PRODUCTX function multiplies all the returns per investment in stead of the total return of x period. Example:
When I use the PRODUCTX fomula on the returns it will multiply all returns on investment level. What I am looking for is a formula that will multiply the returns on period level so: 2.4 * 3 * 11 * 3.2 (in stead of 2*3*5*0.2 etc.).
Many thanks in advance. I hope there is a solution for this.
Kind regards,
Teun Verhagen
Thank you for your response!
Returns is indeed a measure. I have tried your method but it does not work unfortunately.
It has become a complex structure with a return calculation based on two tables: one table with start and end value per period and one table with transactions during the period. Those two tables are linked and the formula to measure return works fine.
The problem is that it keeps calculating the product per investment return in stead of the product of the return of multiple investment within a period.
For readability, I would suggest to simply use SUMX(Values..
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |