Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey guys
I have a problem using SAMEPERIODLASTYEAR to calculate the billing variation per month. The current month is not complete but the formula is considering the current month of last year as complete and the variation is wrong
The page has a relative date filter like this year
When I put a filter between dates, for example 01/01/2023 to 09/19/2023, the billing variation is correct
My dCalendar table looks like this -> dCalendar = CALENDAR(DATE(2011,01,01),TODAY())
Measures:
Billing = SUM(SALES[VALUE])
Billing LY = CALCULATE(SALES[VALUE], SAMEPERIODLASTYEAR(dCalendar.[Date]))
Has anyone experienced this?
Solved! Go to Solution.
Hey guys
I broke my brain and found a solution lol
Created a new date table with the full period | calendario= date(2011,01,01),date(2100,12,31)) and connected the sales base after this, connected the old date table (dCalendar) with the new date table (calendario) and I'm using it as an automatic filter For dates
Hey guys
I broke my brain and found a solution lol
Created a new date table with the full period | calendario= date(2011,01,01),date(2100,12,31)) and connected the sales base after this, connected the old date table (dCalendar) with the new date table (calendario) and I'm using it as an automatic filter For dates
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |