Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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) this data is filtered. From this filtered data I want to identify the data at the chosen start and end dates. I've added some measures which determine the start and end dates selected by a slicer but don't know how to use this to find the data (revenue for example) on these dates.
For example, in the visual shown below the yellow box is reporting on the results of the slicers and I am trying to obtain the revenue on the starting data (2.5m based upon the slicers) and end date (3.5m based upon the slicers) and a comment on this.
Here is a link to the sample data I am using - Sampledata.pbix
Any help appreciated.
Solved! Go to Solution.
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] )
)
Thank you, that worked perfectly!
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] )
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |