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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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

12 REPLIES 12
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.  

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
Employee
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.