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

Date filtering Error

Hi, 

 

I am wanting to use this date filter in my reports: 

 

Date filter.PNG

 

I am also wanting to do a Year over Year comparison with the data after the date is selected:

 

yoy help.PNG    yoy help2.PNG

 

As you can see, I filtered the October 17, 2016 - October 17, 2017; it's given me just that [ NOT year over year ].

 

 If I filter just October 17, 2017; 2016 column goes away 😞

 

yoy help2.PNG

 

 

 

Could someone please help in this?

 

8 REPLIES 8
v-shex-msft
Community Support
Community Support

HI @Anonymous,

 

>> If I filter just October 17, 2017; 2016 column goes away Smiley Sad

Current slicer only support show the filtered part. If you removed the 2016 part in your slicer, matrix visual will shows the filtered 2017 part.

In my opinion, I'd like to suggest you write a measure to get the previous records based on calendar date.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

 

Your question is not clear.  What do you want to show in the Table visual?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi,

I want to show current and last year's count for the same month and day that's filtered by the date slicer.

Hi,

 

Try to use the SAMEPERIODLASTYEAR() function.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

How would I factor it into my sum measures?

The table is counting total Sales. I am unsure how to use it within this visual.

Hi,

 

Share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

I attempted the "sameperiodlast year" function.. and got this error when using it in the matrix:

 

:: Function 'SAMEPERIODLASTYEAR' expects a contiguous selection when the date column comes from a table on the 1-side of bi-derectional relationship

 

Hi,

 

Share the link from where i can download your file.  Please also show there the result you are expecting.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.