Forum Discussion
Filter Visual Based upon Today Week Number Measure
I have a measure:
6 Replies
- Ritaf1983Super User
Hi Anonymous
What is the desired result?- AnonymousNot 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.
- Ritaf1983Super User
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
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- AnonymousNot 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