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
Paddhof1984
Helper III
Helper III

YTD Linechart comparison of different years

Hello,

 

I do have a Problem:

 

 LineChart.JPG

 

In this line chart there should be shown the cumulated turnover for the years 2016 and 2017. I have created a measure for the cumulated turnovers per year, because I want them to be shown month by month. Now in this case somehow only the cumulated turnover for 2017 is shown in the chart, the cumulated turnover for 2016 isn't even shown on the chart. Anyone a clue why this happens and why the cumulated turnover for 2016 isn't shown?

1 ACCEPTED SOLUTION

@Paddhof1984,


Create relationship between the new table and your calendar table using Date field. Then create YTD using the similar formula below and create Line chart as follows.

YTD = TOTALYTD(SUM(NewTable[field]),'Calendar'[Date])

1.PNG

Regards,

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

18 REPLIES 18

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.