Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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.
User | Count |
---|---|
81 | |
76 | |
62 | |
60 | |
48 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |