Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |
User | Count |
---|---|
15 | |
14 | |
12 | |
10 | |
9 |