如何在SSRS/Powerbi中划分两行相同的列?

How to divide two rows of same column in SSRS/Powerbi?

Account Name          Balance
YTD                   10000
Interest              100
Depreciation          500
Less Distributions    -7000
Plus Paid in Capital  600
Principal             2600

我有一个像这样的 table 我需要一个新行,它可以让我对年初至今的余额划分结果感兴趣。

预计输出:

Account Name          Balance
YTD                   10000
Interest              100
Depreciation          500
Less Distributions    -7000
Plus Paid in Capital  600
Principal             2600
Result                100      //(i.e 10000/100)
=SUM(IIF(Fields!AccountName.Value = "YTD", Fields!Balance.Value, Nothing)) / SUM(IIF(Fields!AccountName.Value = "Interest", Fields!Balance.Value, Nothing))