Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
seabrew
Helper II
Helper II

Use cumulative values and point in time values in same visual

I am trying to compare management fees against an account’s assets under management (AUM). In the data model, the AUM values reflect the market value of an account as of the last day in the month. The fees are what the firm is paid. The fees and AUM are two fields in the same fact table.

 

I am trying to show quarter-end AUM values with cumulative fees within that quarter. What happens is that the both values are summed up for the quarter. This works for the fees, since they are cumulative. For the AUM, I need to show the value as of the quarter end, not the cumulative AUM over the quarter.

 

Is this possible in PowerBI / DAX to return the data in this format?

 

Here’s an example of fact table data and what I need for the report output.

 

Fact Table
AcctAs Of Date AUM  Fee 
13/31/2017        2,000,023.76             120.00
12/28/2017        1,078,021.78             110.00
11/31/2017        1,000,019.80             100.00
112/31/2016        2,000,017.82               90.00
111/30/2016        1,230,015.84               80.00
110/31/2016        1,100,013.86               70.00
19/30/2016        1,090,011.88               60.00
18/31/2016        1,100,239.90               50.00
17/31/2016        1,050,007.92               40.00
16/30/2016        1,600,005.94               30.00
15/31/2016        1,500,003.96               20.00
14/30/2016        1,000,001.98               10.00

 

Report Values to Return
AcctDate AUM  Fee 
13/31/2017     2,000,023.76     330.00
112/31/2016     2,000,017.82     240.00
19/30/2016     1,090,011.88     150.00
16/30/2016     1,600,005.94       60.00

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@seabrew,

 

You could refer to the following steps.

1) add a calculated column to Fact table

End Of Quarter =
ENDOFQUARTER ( 'Fact'[As Of Date] )

2)add a new table

Report = 
GROUPBY (
    'Fact',
    'Fact'[Acct],
    'Fact'[End Of Quarter],
    "Date", MAXX ( CURRENTGROUP (), 'Fact'[As Of Date] ),
    "AUM", MAXX (
        CURRENTGROUP (),
        IF ( 'Fact'[As Of Date] = 'Fact'[End Of Quarter], 'Fact'[AUM] )
    ),
    "Fee", SUMX ( CURRENTGROUP (), 'Fact'[Fee] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@seabrew,

 

You could refer to the following steps.

1) add a calculated column to Fact table

End Of Quarter =
ENDOFQUARTER ( 'Fact'[As Of Date] )

2)add a new table

Report = 
GROUPBY (
    'Fact',
    'Fact'[Acct],
    'Fact'[End Of Quarter],
    "Date", MAXX ( CURRENTGROUP (), 'Fact'[As Of Date] ),
    "AUM", MAXX (
        CURRENTGROUP (),
        IF ( 'Fact'[As Of Date] = 'Fact'[End Of Quarter], 'Fact'[AUM] )
    ),
    "Fee", SUMX ( CURRENTGROUP (), 'Fact'[Fee] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.