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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Troubles with my data

Hi All,

 

I am struggeling to get the data exported from our ERP System in to a visual in PowerBI.

The problem is that with most of the data each collum provides a certain value which you can direct using a different collum. In this case all the usable data, contract hours per team, is allready devided in these collums. 

 

I want to make a visual in which i can put the team numbers on the X-as and use a bar graph to sum up the hours per team.

 

This is an example of a smal part of the data so you can see what we try to work with.

 

Example from the data:

EmployeeFTETeam 1 %Team 2 %Team 3 %Team 4 %

1

11   
20,8 0,7 0,3
31    
40,9  0,60,4
510,80,2  
61  1 
1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

You should unpivot the data.  In the query editor, select the first two columns then right click and choose "Unpivot Other Columns".  Rename the Attribute column and use it in your visual to have Team# on your axis/legend.  You can Sum the Value column as your values.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

You should unpivot the data.  In the query editor, select the first two columns then right click and choose "Unpivot Other Columns".  Rename the Attribute column and use it in your visual to have Team# on your axis/legend.  You can Sum the Value column as your values.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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