Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I want to calculate %change from last year up until this year.
Im working with traffic data for a project, number wise is it possible to calculate up until Feb 23rd last year because when i do the comparison it accounts for the 2020 data for all of Feburary and it throws off the numbers.
There is lots of data i just made a false dataset here that is very similar.
@AP45
you can use YTD
For Current YTD = Calculate(Count(DAta),DAtesytd(DateDim[date])
Fro LY YTD = Calculate(
calculate(count(data),sameperiodlastyear(datedim[date]),
Datesytd[datedim[date]))
This will give exact comparsion on current date to last year as on date only. Let me know if any issues.
else share the data in excel format to create pbix file
Proud to be a Super User!
sorry im new to this I dont think it worked... here is a link to the pbix file that i created. https://drive.google.com/file/d/1UuFgS-C74ucEQj_QOu29Q8sTqyfHYExQ/view?usp=sharing
do you mind taking a look and maybe using the formula to see if it worked. Then i could follow along maybe i was inputting the wrong things.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
95 | |
94 | |
80 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |