Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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 trying to use a slicer to return the start and end value of a portfolio. I have created measures to pick up the start date and end date selected.
However, I can't pick up only the portfolio value at the end date only.
My first try was
ENDPV = CALCULATE(SUM(Table1[PV]),FILTER(Table1,Table1[Date] == [EndDate]))
Solved! Go to Solution.
@AHoang , if this coming from a date calendar then you can these two var to get first and last date
measure 2 =
VAR _min = MINX( allselected('Calendar') , 'Calendar'[Date] )
VAR _max = MAXX(allselected('Calendar') , 'Calendar'[Date] )
RETURN
<use in calculation >
@AHoang , if this coming from a date calendar then you can these two var to get first and last date
measure 2 =
VAR _min = MINX( allselected('Calendar') , 'Calendar'[Date] )
VAR _max = MAXX(allselected('Calendar') , 'Calendar'[Date] )
RETURN
<use in calculation >
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
10 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |