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
Rebecca
Frequent Visitor

Relative Date filtering "this month" EXCLUDE today

 

I have a graph showing sales this year and sales last year. I want this to show results for 'this month' which I am able to do using Relative date filtering.

 

However, on the 1st of the month I still want to show last months results as the data is always 1 day behind.

 

When you choose relative date filtering "in the last" there is a tick box to exclude or 'Include today'. This tick box would solve my problem but it disapears when you chose 'is in this'. 

 

Is there another way around this? I am aware of the 'Anchor date' option for Date.value slicers but it is not dynamic and ideally i dont want the user to have to use a slicer.

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Rebecca,

 

Suppose there is a [Date] column in data table, maybe you could create a calculated column:
New Date=IF([Date]=Today(), BLANK(), [Date])

 

Then, add this [New Date] column to visual level filter or page level filter, set it fiter syntax to "is in this month".

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your suggestion!

 

It has been requested the report has a Live Data Connection so unfortunatly I don't think I will be able to add any calculated column.

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.