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

Query about setting date filters

review data.jpg 

For the visual attacted, i am trying to set the filter to give the following:

 

 quantity of reviews recived in the last week which i have done right i think in the left hand box but

i want to compare this in the right hand box which should give the figure for the previous week (i current have a 2 week average calsulated which doesn't allow me to compare weeks acurately eonuhg)

 

is there some way in the filter tab to set this as sum review numbers for every week exept the current week?

 

Thanks, Kind Regards 

 

 

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @cmckernan93 ,

 

You can try to create a year-week number column like

year-week = YEAR([Date])&"-"&WEEKNUM([Date],2)

7.png

Then create another yearweek column to sort

yearweek = YEAR([Date])*100+WEEKNUM([Date],2)

8.png

 

Now you can filter by week number. You can use the function of editing interaction to filter separately.

10.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

cmckernan93
Frequent Visitor

i have tried to set an advanced filter on it here to shelp show what i'm after

but i need this date filter to update to to the next 7 day increment rather than stay static

 

cmckernan93_1-1624626141862.png

 

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.