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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Diportee97
Helper I
Helper I

My Previous Year Dax measure isn’t working

Hello guys,i ran into a dax issue in my power bi,my previous year measure is giving blank after selecting each year slicer,my calendar table has been connected to my fact table,what could be the issue?

 

Here is the pbix file for better understanding of the situation 

https://drive.google.com/file/d/1_PyR_0vPKOsvRybrulnyj4UIQ1dZnNgO/view?usp=drivesdk

IMG_0938.jpeg

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Right click on the calendar table and choose mark as date table.

By marking it as a date table, whenever you manipulate filters on the date column of the date table DAX automatically removes any other filters on the table, so you don't need to use REMOVEFILTERS.

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

Right click on the calendar table and choose mark as date table.

By marking it as a date table, whenever you manipulate filters on the date column of the date table DAX automatically removes any other filters on the table, so you don't need to use REMOVEFILTERS.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.