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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
usamajadi
Regular Visitor

Spacing between bars

Hello, Friends

I am using the measures for some calculations. Which you are shown in below screenshot but I need space between the bars.
if anyone knows, please share their experience. Thank you in advance 

 

issue.PNG

1 ACCEPTED SOLUTION

Thanks for the screenshot. In this case, I would create a parameter table and use its items in Axis.

http://www.daxpatterns.com/parameter-table/

View solution in original post

13 REPLIES 13
ahmeddaffaie80
Frequent Visitor

I found a very easy solution. Use 'Ribbon Chart' visual

X-axis = column

Y-axis = measure

 

I know it doesn't make any sense! but It works to me.  

This non-sensical solution actually solved my problem.  Thank you lol

Shreekanth_R
Advocate I
Advocate I

Hi You can create a measure with blank function and insert between those bars.Just a workaround 

Shreekanth_R_0-1638960698689.png

 


Measure=blank()

Shreekanth_R_1-1638960699182.png

 

If this post helps, then please consider Accept it as the solution

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @usamajadi,

 

As you didn't add any field into chart X-axis area, all the measures added to Value are considered belong to one category. In that case, it is not possible to show space between bars. In your scenario, if possible, you need to create a category column whose values are like Measure1, Measure2, Measure3 and Measure4. Then, create a column or measure which returns corresponding result for each measure name. Add these two new fields into chart, you can see space between each bar.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi v-yulgu-msft,

 

 

@ v-yulgu-msft any chance you could illustrate with example with dummy data/formula? I would like to work out the spacing

How do you then relate these column values with the related measures? Can you give an exmple for this?

Daniil
Kudo Kingpin
Kudo Kingpin

Have you tried moving your items from Legend to Axis?

it's not moving because of its numbers field. Currently is in values sections.

issue.PNG

Thanks for the screenshot. In this case, I would create a parameter table and use its items in Axis.

http://www.daxpatterns.com/parameter-table/
Anonymous
Not applicable

hi can you show how you achieved this . thanks

Hi You can create a measure with blank function and insert between those bars.Just a workaround 🙂
Measure=blank()

Shreekanth_R_0-1638960616860.png

 

Markzolotoy
Impactful Individual
Impactful Individual

@Daniil Can you please show some screenshots?

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors