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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors