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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mgcchkn
Frequent Visitor

Line Chart with Sum of most recent date

I've searched for the answer on here and google, no luck.

 

I have a data set where I need to calculate the sum of the total of the most recent date.  However the most recent date of some of the values could be 5 years old.  The date ranges from 5+ years ago to today, and I need to sum the most recent of all the values and have them on a line chart.

 

The values calculate production capability over time and if the most recent value I have is from 5 years ago, that's what I have to go off of for that particular widget's production.

 

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @mgcchkn 

Thanks for reaching out to us.

Your needs are not clear. Please share some data and expected results for our reference, thanks.

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

In this case would I need a complete date table to keep the running production total until each widget's production total is updated?  If that makes sense.

@v-xiaotang

 

Here is a sample dataset.  The sum of the production is 102.37 which is the production capability of the organization.  Which I'd like to have as the value for the line chart regardless of the date slicer.  And as the widgets production value updates, it will change the production capability line going forward.  If Widget 5's production changed to today's date with a value of 10, the capability line would change from 102.37 to 110.8 going forward from today's date.  I hope that makes sense.

 

Widget NumberDateProduction
Widget 15/20/202213.67
Widget 25/24/202214.5
Widget 35/17/20225
Widget 45/19/20224.67
Widget 56/30/20101.57
Widget 65/19/20224.5
Widget 710/21/20216.33
Widget 81/25/20163.03
Widget 95/18/202223.17
Widget 101/15/20081.67
Widget 1112/8/20150.6
Widget 1211/7/20156.33
Widget 132/7/20202.83
Widget 145/17/20226.83
Widget 154/14/20225
Widget 166/6/20222.67

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.