Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Solved! Go to Solution.
Hi @meikev ,
We can try to use a calculated table and a measure to meet your requirement:
Calculated table:
Table = ADDCOLUMNS ( CALENDARAUTO (), "EOY", FORMAT ( [Date], "DD MMM" ) )
Measure:
YTD WIP Total Fees =
VAR endDate =
MAX ( 'Perspectives'[Date] )
VAR startDate =
CALCULATE ( MAX ( 'Table'[Date] ), 'Table'[Date] <= endDate )
RETURN
CALCULATE (
SUM ( 'Perspectives'[WIP Total Fees] ),
FILTER (
ALLSELECTED ( 'Perspectives' ),
'Perspectives'[Date] >= startDate
&& 'Perspectives'[Date] <= endDate
)
)
If it doesn't meet your requirement, Could you please show the exact expected result based on the Tables that we have shared?
By the way, PBIX file as attached.
Best regards,
Genrally, you would use a What If parameter and associated measure to do that.
a What-if parmater can only be numeric (whole/decimal) - this function requires a string argument that equates to a date
Hi @meikev ,
We can try to use a calculated table and a measure to meet your requirement:
Calculated table:
Table = ADDCOLUMNS ( CALENDARAUTO (), "EOY", FORMAT ( [Date], "DD MMM" ) )
Measure:
YTD WIP Total Fees =
VAR endDate =
MAX ( 'Perspectives'[Date] )
VAR startDate =
CALCULATE ( MAX ( 'Table'[Date] ), 'Table'[Date] <= endDate )
RETURN
CALCULATE (
SUM ( 'Perspectives'[WIP Total Fees] ),
FILTER (
ALLSELECTED ( 'Perspectives' ),
'Perspectives'[Date] >= startDate
&& 'Perspectives'[Date] <= endDate
)
)
If it doesn't meet your requirement, Could you please show the exact expected result based on the Tables that we have shared?
By the way, PBIX file as attached.
Best regards,
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |