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
AlexaderMilland
Helper III
Helper III

Offset function not working with direct slicers

I can't quite graps why this issue is happening.
Basically my offset function return blank values when im applying a slicer. 
It's only doing this when the slicer is directly part of the offset function, so i can easily apply a filter year or so. 
I understand if picked non-consecutive weeks, but I don't? 

AlexaderMilland_0-1695812344355.png

AlexaderMilland_1-1695812367902.png

 

Orders - Offset % =

CALCULATE([Orders],OFFSET(-1,ALLSELECTED('Calendar'[WeekName],'Calendar'[WeekKey]) ,OrderBy('Calendar'[WeekKey],ASC)))
1 REPLY 1
lbendlin
Super User
Super User

Should work.  Can you post a sample pbix?

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 Solution Authors