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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Slicer Breaks Prior Year Measure

Hello, 

 

I have created a function to calculate the sales for the same month, the prior year.

 

I have a slicer to select which financial year so then the grand totals in the table are correct but it seems the slicer completely removes the previous year's data rather than just hiding it so then the prior year measure can't be calculated?

 

Is there a way around this?

 

Thanks

3 REPLIES 3
Anonymous
Not applicable

Any updates on this please?

danno
Resolver V
Resolver V

please post you measure as the way you construct it will make a difference to how it reacts to data selections. 

Anonymous
Not applicable

Income Prior Year = CALCULATE(SUM('income'[Income]), DATEADD('income'[Date].[Date], -12, MONTH))
 
I also have a "Finance Year" field.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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