Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

SAMEPERIODLASTYEAR issue - Inflated value

I have something very odd happening when I'm working with SAMEPERIODLASTYEAR

 

I have, in Power Query, removed any future dates from my calendar table. My fact table only has facts up to 07/10/2018 (dd-mm-yyyy) so I've limited the calendar to only go up to that date. When I select that very last date in my date range slicer it inflates my LY figures dramatically.

I have a work-around, which is to make my last date in my calendar 08/10/2018 but ideally I'd just want to have it as the very last date that has a fact attributed to it - any ideas as to why this might be happening?

 

e.g. below shows the issue. If I do my workaround 01/10/2018 - 07/10/2018 gives me 97,435

image.png

 

 

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please illustrate your scenario with sample data. And what is the formula of those used measures?

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors