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.
Hi im looking to create a measure/measures that enables me to show the % change in price from the 2nd latest to the latest date.
my data is structured as so (date always 7 days apart):
Product|Date|Price
1 ,7th feb, 1
1, 14th feb , 2
1, 21st Feb, 3
so ideally it would show +33%. My data is a litle more complex in practice with multiple products.
i managed to make a function to return the latest date for that particular product, but not sure how to then return the price related to that date.
here is that function:
Max Date =
VAR Uni = SELECTEDVALUE('Weekly Master'[Unique])
RETURN MAXX( FILTER( ALL( 'Weekly Master' ), 'Weekly Master'[Unique] = Uni),
'Weekly Master'[Date])
thanks alot!
Hi @amitchandak,
thanks for the link to your video, it helped somewhat but im still stuck.
Im not using a date table but i have calculated a date rank as a calculated comuln. When calculating Current Month i suspect it is summing all values for the date rank, not only values for the date rank for that particular product :
@Jrich18 , You can follow the rank approch, which I have used on my WOW blog
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
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 |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |