Forum Discussion
Creating lookthrough from 1 Fact table to another Fact table
- Anonymous9 years ago
Johnsnowlife,
Please review this modified PBIX file.
Regards,
Lydia
Oh! I see that works. But now the values that need to be plotted are different for each sub-level.
If I drill into Client Name, the pie should show me the market value of the client's holding in the fund. And if I drill into the fund it should show me the fund's holding of the instrument.
And if I expand all down to the lowest level of the hierarchy it should show me the weighted percentage held of each instrument.
ie. Sum [(weight of fund in client's portfolio)*(weight of instrument in fund)] over all instruments in fund and all funds in client portfolio.
Johnsnowlife,
Could you please post expected result in table based on the sample data in your PBIX file?
Regards,
Lydia
- Johnsnowlife9 years ago
Helper III
The results tab on this excel sheet shows the desired result
- Anonymous9 years agoNot applicable
In the Pie chart, when you drag Market Value to Values if the chart, each time you drill down to a different hierarchy level, the chart will show you market value of the current hierarchy level, in this case, it is not possible to show you weighted percentage held value in the lowest level of the hierarchy.
If you want to show weighted percentage held value, you can drag the weighted percentage held measure/column to Tooltips of the pie chart. This way, when you drill down to each hierarchy level, pie chart will show you both market value and show weighted percentage held value after you hover mouse over the chart.
Regards,
Lydia- Johnsnowlife9 years ago
Helper III
Ok, that makes sense. But if I make the values on the pie chart equal the Lookthrough instrument Holding = (% of fund in Client portfolio) * (% of instrument in Fund) then both levels will be correct.
I'm not sure how I get the relationships to work so that I can still use 2 fact tables. Can you suggest the DAX to get the formula above?