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

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

Reply
Anonymous
Not applicable

Design Approach - 4x Week Task lookead Required

Hello PBI Gurus 

 

I was looking for some inspiration on the simplest or best way to achive my visualisation

 

So Im a new member of the team and want to bring some structure with a work look ahead.  I have a date table linked to my source table.

 

My Key Delivery Date is Due Date which is when is the task due. Tasks are spread over months /years.  But Im just looking for whats happening in the next  4x weeks.  

 

As you can see below - This week has 2x Tasks due etc

 

Simplified Table.jpg

 

 

All help appreciated.

 

Thanks in advance.

 

Jimmy

 

 

 

 

 

3 REPLIES 3
Anonymous
Not applicable

     Im hoping for some further assistance. 

I have a date table which looks like so

 

Date = ADDCOLUMNS (

        FILTER (

            CALENDARAUTO (),

            AND ( YEAR ( [Date] ) >= 2020, YEAR ( [Date] ) <= YEAR(TODAY()))

        ),

        "Calendar Year", "CY " & YEAR ( [Date] ),

        "Month Name", FORMAT ( [Date], "mmmm" ),

        "Month Shortname", FORMAT ( [Date], "mmm" ),

        "Month Number", MONTH ( [Date] ),

        "Weekday", FORMAT ( [Date], "dddd" ),

        "Weekday number", WEEKDAY ( [Date] )

    )

 

Above is marked as a Date Table.

 

So after creation I added a new column to this date Table called Week Start Date

 

I then added another new column to the date table using below:

 

Week Rank = RANKX('Date','Date'[Week Start date],,ASC,Dense)

 

I get the following in my Date Table and I think this is the 1st issue?    See Fig 2

 

The Ranks shows as all Digit Ones and Week Start is empty  - See Fig 2

 

Just some further inforamtion:  My Excel Data source (Fig 1)  is super simple and its Columns 1& 2 which is what I wanted to create my look ahead for. Columns 3 & 4 were sanity checkers in excel and will not be used in my calculation:

 

 

I will come to the measures afyter clarifying above. Sorry to ask such lame questions.

 

Its very much apprecited.

 

Jimmy

 

 

 

 

 

 

Fig 1

 

Data Source

jimmyg706_1-1694248982614.png

 

Fig 2

Date Table 

jimmyg706_0-1694248805791.png

@amitchandak

Anonymous
Not applicable

thanks @amitchandak   Im going to have a fiddle with this over the weekdn and report back. A big than thanks for the reply.

 

Jimmy

amitchandak
Super User
Super User

@Anonymous , Have week rank in date table then use concatenateX

 

Have these new columns in Date Table, Week Rank is Important in Date/Week Table

Week Rank = RANKX('Date','Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX('Date','Date'[Year Week],,ASC,Dense) //YYYYWW format


These measures can help
This Week = CALCULATE(concatenateX(Table, 'Table'[Task Name], ", "), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Next Week = CALCULATE(concatenateX(Table, 'Table'[Task Name], ", "), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])+1))

 

 

Next Week +2= CALCULATE(concatenateX(Table, 'Table'[Task Name], ", "), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])+2))

 

 

Next Week +3= CALCULATE(concatenateX(Table, 'Table'[Task Name], ", "), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])+3))

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors