The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |