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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Slicer doesn't affect a table

I have a table which consists of Market, Spend this year and spend previous year, 
I have a slicer month and slicer for the year 
my data update for 2023 was on June, i have no filters, no other slisers, the links are okay 
but 
when i select 2023 and July, for instance, the table values in the Spend last year column is not changing (which I dont understand  since i have data for July 2022), nothing changes 

i decided to test the Spend previous year column and put it into blank page 
with market and with slicer, but the values stuck on the values of the June 2023, when i select previous months it is okay it is changing 
it is not working for the "future" months

the formula i used to calculate the previous month is 

FinSpendSumPY =
CALCULATE(
    [FinSpendSum],
    SAMEPERIODLASTYEAR('AZ_Calendar_Lookup'[Date])
)


thank you 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @Anonymous ,

 

Here I create a sample on myside and it works. Data is from 2022 to 2023 June.

vrzhoumsft_0-1696216277530.png

Please make sure your Calendar table has continuous date and is related to your fact data table.

vrzhoumsft_1-1696216350768.pngvrzhoumsft_2-1696216357752.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @Anonymous ,

 

Here I create a sample on myside and it works. Data is from 2022 to 2023 June.

vrzhoumsft_0-1696216277530.png

Please make sure your Calendar table has continuous date and is related to your fact data table.

vrzhoumsft_1-1696216350768.pngvrzhoumsft_2-1696216357752.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

lbendlin
Super User
Super User

i have no filters, no other slisers, the links are okay 

Please show your data model.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.