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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
imadelmouden
Frequent Visitor

Show values of a records in bar chart

I have this table that will contain 53 records each year ( It's an aggregated table from multiple other tables)
test.PNG

 

The thing is, I want to show every line in a bar chart, that means, for the line 1 (week 14-18), I must plot the colum1 to colum 5 in same bar (with different colors of course), then the line 2 (week 19-18)....
When I try to do this, it shows me the bars grouped by week, but instead of showinf records values, it count the lines and give me number 3 for the 3 bars like this :
test1.PNG

 

Is their anyway that allows me to show line values instead of summing or counting all lines ?

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @imadelmouden

Go to Edit queries

select  "col1" to "col5", then "Unpivot columns"

3.png

4.png

Close&&Apply, add columns in the visua as below

5.png

 

 

Best Regards

Maggie

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @imadelmouden

Go to Edit queries

select  "col1" to "col5", then "Unpivot columns"

3.png

4.png

Close&&Apply, add columns in the visua as below

5.png

 

 

Best Regards

Maggie

Thank you @v-juanli-msft

I already did figure it out Smiley Very Happy

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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