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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andrekroker
Resolver I
Resolver I

How to display future dates

Hi all()

Given the following table and Line Chart and considering:
- Sprint ends on May,25th

BurnUp ChartBurnUp Chart
I want both table and line chart to show the Daily Pace till the end of the sprint.

These are the measures related do Daily Pace I have so far:

  • Daily Pace = TOTALYTD ([Pontos Planejados Diários],table[Date],Table[Date],"25/05")
  • Pontos Planejados Diários = SUMX(table, [3.1 Total User Story (Pontos)] / [Total Sprint Days])

And I have the Sprint End Date as a column in my Table data.

How do I do this?

1 ACCEPTED SOLUTION

Hi @aramirez7 

Thanks a lot for answering. I´m kind of lost on how to effectively operate your solution.

The 'Source' would be the calendar table or a metric? Or should it be written in the Power Query Editor?

 

Well, I already got a way to make the chart display all days using a measure combined with the ALLSELECTED statement.

Thank you very much!

View solution in original post

2 REPLIES 2
aramirez7
Frequent Visitor

1. Create a calendar table with the number of future days you want, see this ejm with 15 future days

let
Source = #date(
Date.Year( DateTime.LocalNow())-1,1,1),
allDates = List.Dates(Source, Number.From(DateTime.LocalNow())+15 - Number.From(Source) ,#duration(1,0,0,0))

in

allDates

2. Change the TOTALYTD function to something like:

Annual cumulative =
VAR startDate = DATE(YEAR(TODAY()),1,1)
VAR endDate = MAX( Dates[Date])
Return, New
CALCULATE,[Puntos planed daily],
FILTER( ALL( Dates ),
DATESBETWEEN(calendar_dim[dateKey],startDate, endDate)
)

I'd think that might work for you, greetings.

Hi @aramirez7 

Thanks a lot for answering. I´m kind of lost on how to effectively operate your solution.

The 'Source' would be the calendar table or a metric? Or should it be written in the Power Query Editor?

 

Well, I already got a way to make the chart display all days using a measure combined with the ALLSELECTED statement.

Thank you very much!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.