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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Filter Visual Based upon Today Week Number Measure

I have a measure:

 

Today Week = WEEKNUM(TODAY())
 
And I have a Visual that I would like to filter using this measure. I have a Week Number column.
6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

Any update on this? Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Ritaf1983
Super User
Super User

Hi @Anonymous 
What is the desired result?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

To filter a Stacked Bar Chart to only show data from this current week. I assumed using the weke number would be the best way to do this. I want my to change on a weekly basis.

I'm still not entirely sure what you're trying to accomplish. However, if you need your measure to function as a filter, you can create something like this:

Filter_test = IF(WEEKNUM(MAX('your_table'[date])) = WEEKNUM(TODAY()), 1, 0)

Alternatively, you could simply use a relative date filter

Ritaf1983_0-1711531977178.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

I dont have the relative date option?

it should be the date column....
please share a link to your pbix.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors