Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
@andyly85 Try:
Column =
VAR __Date = [Date]
VAR __Result = SUMX( FILTER( 'Table', [Date] <= __Date ), [Fund] )
RETURN
__Result
@andyly85 Try:
Column =
VAR __Date = [Date]
VAR __Result = SUMX( FILTER( 'Table', [Date] <= __Date ), [Fund] )
RETURN
__Result
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
10 |