Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi for the below query, i need advice.
I want to make the highlighted filter show me the total of the week befoew last (i.e. days 8-14) so it gives a week on week comparison in the report. Just wondering how can i do this?
should i make a measure for the below visual to sort the data
or can i set the filter by going to the filters tab ---- add date field ---go to advanced filtering and settign the dates to previous days 8-14?
Solved! Go to Solution.
Hi @cmckernan93 ,
Based on your description, you just need to apply the date field as a filter condition to the corresponding visual level filter.
But the default is Sunday as the first day of the week,You can also create a condition column.
Iscurrent_week =
var week_today = WEEKNUM(TODAY(),2)
var week_date = WEEKNUM('Table'[date],2)
return IF(YEAR(TODAY())=YEAR('Table'[date])&&week_today=week_date,1)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @cmckernan93 ,
Based on your description, you just need to apply the date field as a filter condition to the corresponding visual level filter.
But the default is Sunday as the first day of the week,You can also create a condition column.
Iscurrent_week =
var week_today = WEEKNUM(TODAY(),2)
var week_date = WEEKNUM('Table'[date],2)
return IF(YEAR(TODAY())=YEAR('Table'[date])&&week_today=week_date,1)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@cmckernan93 , refer if my wow week blog can help you
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8