Forum Discussion
Filtering Date + 7 Days
- Anonymous6 years ago
Hi Anonymous ,
Please check the measure below and see if the result achieve your expectation.
Measure = var sv = SELECTEDVALUE('CALENDAR'[Date]) return IF(MAX('Table'[Date])<sv,BLANK(),IF(MOD(DATEDIFF(sv,MAX('Table'[Date]),DAY),7)=0,MAX('Table'[Date])))BTW, Pbix as attached, hopefully works for you.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the end this would show weekly data for a report that was done in Tableau, but will be shifted to BI...
also this report breaks weekly totals down by regions of DC, MD, and VA
Overall, this report has been done in Excel and Tableau, but there is a shift of resources to Power BI
Thank you !
Sarah
Hi Anonymous ,
Please check the measure below and see if the result achieve your expectation.
Measure =
var sv = SELECTEDVALUE('CALENDAR'[Date])
return
IF(MAX('Table'[Date])<sv,BLANK(),IF(MOD(DATEDIFF(sv,MAX('Table'[Date]),DAY),7)=0,MAX('Table'[Date])))
BTW, Pbix as attached, hopefully works for you.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.