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
vvanderlee
New Member

Line chart with monthly sum values

I want to create a line chart which sums the monthly cost of a set of people, so monthly FTE costs. See a small sample of the dataset below. When I select the line chart visualization and set the month columns under values (sum) I am getting below picture. I want to see the month totals as seperate values on the X-avis like in this excel chart. (see both pictures below)

 

Obviously I am doing something wrong. Can anyone help? 

 

 

resource costs PBI.JPGresource costs excel.JPG

3 REPLIES 3
Anonymous
Not applicable

Hi @vvanderlee,

 

In order for this to work, the months need to be in a single column and under Axis.

How do you mean 'In a single column'? What would the dataset look like? 

@Anonymous, I understand what you mean now. Dataset would look like below. That does provide a solution, but when you have a large sheet with many rows that is a lot of effort to transpose the table. In the original table there are also several other columns with data criteria. Surely there must be a way to achieve this without having to transpose the entire table? 

 

NameAmountMonth
John         3.548Jan
John         2.200Feb
John         1.000Mar
John             500Apr
Larry         2.754Jan
Larry         2.754Feb
Larry         2.754Mar
Larry         2.754Apr

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.