Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
@Pquinlan21 Oh, it's a column. Just remove the MAX around the __Date variable calculation and you will be set.
@Pquinlan21 Could be a whole host of things starting with using CALCULATE and DAX TI functions. You can do this simply by using this:
Measure =
VAR __Date = MAX('winston (2)'[Date])
VAR __PrevDay = __Date - 1
VAR __Result = SUMX( FILTER(ALLSELECTED('winston (2)'), [Date] = __PrevDay), [Daily PPC Natural Gas Burned mcal] )
RETURN
__Result
@Greg_Deckler It worked to get the value for the previous day but it only provided that value. I would like it to give the previous value for each day if that is possible. I have attache a screen shot showing the results of the previous code.
@Pquinlan21 Oh, it's a column. Just remove the MAX around the __Date variable calculation and you will be set.
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 |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |