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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.