Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using DAX to create a column of cumulative returns
04-17-2024
12:03 PM
Hi all, I am trying to create a column using DAX to calculate the cumulative return of the fund and BM column, can you please help? Thanks in advance!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024
02:14 PM
@andyly85 Try:
Column =
VAR __Date = [Date]
VAR __Result = SUMX( FILTER( 'Table', [Date] <= __Date ), [Fund] )
RETURN
__Result
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024
02:14 PM
@andyly85 Try:
Column =
VAR __Date = [Date]
VAR __Result = SUMX( FILTER( 'Table', [Date] <= __Date ), [Fund] )
RETURN
__Result
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
08-13-2024 03:40 PM | |||
11-21-2023 03:15 AM | |||
06-02-2023 11:01 PM | |||
Anonymous
| 05-24-2022 12:59 PM | ||
Anonymous
| 05-23-2024 07:25 AM |