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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
paulfink
Post Patron
Post Patron

Weekly Table that is affected by Start Date - End Date Slicer

Hi guys,

 

Been working on a report that Shows Change of Progress of different projects from start of last week to end of last week (Monday - Sunday)

 

Progress is shown as a %

 

Now im trying to implement a way for a Slicer to filter the dates of my visual so i can see the Change over different periods.

 

If i select 01/01/2021 - 25/03/2021 (Today), then it should take the Progress from the Start Date (01/01/2021) and  the End Date (25/03/2021) and will show my difference. 

 

 

Currently, the way i have been doing this is i have made a seperate Calendar Table that shows Dates of Last Week:

Calendar = calendar(today() - weekday(today(),2)+1,today() + 7 - 1* WEEKDAY(TODAY(),2)) 

Last Week = 'Calendar'[Date] - 7

 

I then get the Progress from Start and End Date:

Progres at Start = LOOKUPVALUE(ProjectProgress[ProgressPercentage],ProjectProgress[ProjectNumber], Projects[ProjectNumber], ProjectProgress[ProgressDate], MIN('Calendar'[Last Week]))

Progres at End = LOOKUPVALUE(ProjectProgress[ProgressPercentage],ProjectProgress[ProjectNumber], Projects[ProjectNumber], ProjectProgress[ProgressDate], MAX('Calendar'[Last Week]))

 (Same Formulas just MIN for Start Date and MAX for End Date)

 

Then i subtract End by Start to get my Change Column figures.

 

Is there a way to get the slicer to change what dates the Start and End dates will be then show me the difference?

I understand my current way is not the way i will use for this new way.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@paulfink , refer if my WOW blog can help

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@paulfink , refer if my WOW blog can help

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.