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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.