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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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