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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

No spacing between bars in bar chart - separate bars on x-axis

Hello, I have seen that some posts already exist regarding this topic but I could not find a solution that worked out for me.

 

Currently I'm not able to separate the bars in my bar chart on the x-axis (no inner padding). I think the problem is that they are treated as one category. The variables - which I want to display as separate bars of a bar chart - are columns in one single table (see screenshot). I would therefore need some additional variable which lets me spilt them on the x-axis.

 

Category Problem.PNG

 

I hope someone has a solution for my problem.

 

Best regards

1 ACCEPTED SOLUTION

heya, i can work with that 😉

 

Before we talk visuals i'd like to show you how to unpivot the data:

i used the following sample data (based on ur screenshot)

Feedback1.png

Since you are already in the report, press edit queries:

feedback2.png

Then go to the transform tab and select all the PM columns. (dont select the feedback number column) and press unpivot columns.

feedback3.png

The result looks like this. You can rename attribute and value as you like.

feedback4.png

Now press close & Apply to work on your visuals.

feedback5.png

 

Im not entirely sure how you'd like to show it. In the example screenshot i see only one feedback number displayed. Will there allways be 1 displayed? As im unsure i made a couple examples. I will show the visual and the used filters/fields respectively.
feedback 6.png

feedback 7.png

feedback 8.png

i hope this helps. 🙂


Quality over Quantity


Did I answer your question? Mark my post as a solution!


View solution in original post

5 REPLIES 5
EricHulshof
Solution Sage
Solution Sage

If you (un)pivot the data it will do the trick 🙂 if you have sample data i can create a example pbix file for you.


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Anonymous
Not applicable

I hope the table works for you. I don't know how to add files to this post.

Anonymous
Not applicable

Feedback: Feedback NamePM: Overall satisfactionPM: CommunicationPM: Communication of changesPM: QualityPM: ResultsPM: TimingPM end: Continous businessPM end: Fulfilment of needsPM end: Pricing
Feedback-0000000208555555555
Feedback-0000000209444444444
Feedback-0000000210333333333
Feedback-0000000211555555555
Feedback-0000000212222222222
Feedback-0000000213444444444
Feedback-0000000214444444444
Feedback-0000000215333333333
Feedback-0000000216111111111
Feedback-0000000217555555555
Feedback-0000000218444444444
Feedback-0000000219222222222
Feedback-0000000220111111111

heya, i can work with that 😉

 

Before we talk visuals i'd like to show you how to unpivot the data:

i used the following sample data (based on ur screenshot)

Feedback1.png

Since you are already in the report, press edit queries:

feedback2.png

Then go to the transform tab and select all the PM columns. (dont select the feedback number column) and press unpivot columns.

feedback3.png

The result looks like this. You can rename attribute and value as you like.

feedback4.png

Now press close & Apply to work on your visuals.

feedback5.png

 

Im not entirely sure how you'd like to show it. In the example screenshot i see only one feedback number displayed. Will there allways be 1 displayed? As im unsure i made a couple examples. I will show the visual and the used filters/fields respectively.
feedback 6.png

feedback 7.png

feedback 8.png

i hope this helps. 🙂


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Anonymous
Not applicable

you're awesome, thank you so much! 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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