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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

building a line graph with 2 different date columns

Sample File 

 

Hello I am trying to build a line graph with dates from 2 different columns, I have attached a sample file.

 

I am looking to have WeekNum on the bottom of the graph and the values would be the cumulative number of items for the week num. 

 

Line one would be Forecast/ Line 2 would be Actual

 

I can calulate the cumlative totals but I am stuck on getting a week number, that works for both cumalitve total measures

 

my original attempt was create an Actual weeknum column and a Forecast weeknum column, then I can create the cumulative total measures but that leaves 2 graphs / with one axis usint the actual weeknum column and the other using the forcast weeknum column  

5 REPLIES 5
APavlovs
Resolver II
Resolver II

@Anonymous 

 

Something like this?


APavlovs_0-1629317572162.png

 

Anonymous
Not applicable

not quite, it would be cumulative so each line would only go up, never down

so this? Adjusted the measure to have cumulative values - somehow missed that in the original reply 🙂

 

APavlovs_0-1629318817570.png

 

Anonymous
Not applicable

yep! how did you do that 

 

Reformatted your data

APavlovs_0-1629319457497.png

 

Used 3 measures

APavlovs_1-1629319503982.png

 

APavlovs_2-1629319515804.png

APavlovs_3-1629319524241.png

 

Did I answer your question? Mark my post as a solution 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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