cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerbiGuRoo
Advocate I
Advocate I

The ability for Line Chart to include dates <= Slicer Value

I have a drop down list that can select only one date.  All the visuals on the page filters based on that one date.  The Line Chart visual ignores the slicer.  The dataset never truncates.  It captures all the data for that day.  The day that is loaded is the As Of Date.  I want the line chart to show the total for each day.  This will show the accumulation of records for each day.  For example, on the 5th of March there were 500 records.  On the 6th of March, there as an addtional 50 records so the total on March 6th, shows 550 records.  This is how I want it to behave and currently it does perfectly.  However, If someone selects March 9th, I don't want the line chart to calculate the daily totals beyond March 9th.  This is the part I am struggling with.  

 

Kind Regards

 

2 REPLIES 2
Anonymous
Not applicable

One cannot tell anything about how to solve this unless one knows the underlying model...

Best
D

The Model contains all the prior records and current records for each day.  The line chart is ignoring the Date Slicer.  It totals the row count for each day.  This is working fine.  Now, if someone selects March 9th, I want the line chart to only show the dates <= March 9th.  Even though there are additional dates 10th, 11th, 12th.... Show 5th, 6th, 7th, 8th, and stop at the 9th.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors