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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
raq3
Frequent Visitor

Combine 3 variables in one graph

Hi everyone,

 

I have a data set with 3 pieces of information I need in one graph.

1 - Hours spent

2 - Job number 

3 - Cost Code

 

The problem is that in some job numbers, we have more than one cost code, which creates different graphs as you can see below.

raq3_0-1672180334946.png

 

I would like to have one graph with one job number and all cost codes separated by columns. Is that possible?

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@raq3 , You can have a visual with the axis as Job Number, Cost Code as legend and the sum of Hours spend as value.

 

You can use Clustered column bar or stacked bar

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you @amitchandak 

 

Would it be possible to create a pie chart with that information?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors