Forum Discussion
AutyDA
1 year agoHelper I
Calculate column data for a date based upon a slicer
I am new to PowerBI and slowly learning how to advance. I have different financial data for various companies and periods. Based upon a series of slicers (company, dates, quarterly/annual data) t...
- 1 year ago
Hi, create these two measures (not columns):
FirstDateRevenue =
CALCULATE (
SUM ( 'Table'[Revenue] ),
'Table'[Date] = MIN ( 'Table'[Date] )
)
LastDateRevenue =
CALCULATE (
SUM ( 'Table'[Revenue] ),
'Table'[Date] = MAX( 'Table'[Date] )
)
AutyDA
1 year agoHelper I
Thank you, that worked perfectly!