Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |