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

not able to create bar charts to show value from related fact table

I have a fact table with unique values for cost

PK - CostID

Range Name

Range Value

 

1, Low, 5

2, Medium, 10

3, High, 20

 

I have a dimension table with with a FK that relates to the PK CostID

PK - Dimension item ID

Dimension item name

FK - CostID

 

When creating a table view report, I'm able to display my dimension items with the respective values from related cost table.  However, when I shift to bar chart view, my values aren't displayed.  I only have the option to show count or sum of the cost table, not the actual value to the related dimension item.  What am I doing wrong?

3 REPLIES 3
amitchandak
Super User
Super User

@billfjax , You can show the cost from the dimension on x-axis(Categorical axis). On y-axis the values would some so you might have to use an additional index column on x-axis.

 

ot shoe both item and cost on x-axis and expand it

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

I was able to get what I needed by creating a view of my relational tables and then connect power bi to the view.  Thanks.

Sorry but your instruction did not help.  As you can see the table view shows the unique value from the fact table that is related to the respective process.  However, when I try to build bar chart, the y axis sums or counts all the values from the fact table (Cost) instead of just retrieving the value based on the PK FK relationship.

 

billfjax_0-1675813557645.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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