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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors