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
DanielLinda
Helper IV
Helper IV

Customized Axis

Hi Community,

 

I have a graph like below.

image.png

And the table looks like this.

 

image.png

 

How to show qty of each items next to axis on the graph.

For example:

What I expect is the Y axis looks like below.

A (10)

B (5)

C (30)

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hi @DanielLinda ,

 

Add sort column to tooltips filed of the visual then you can sort the visual by sort column.

1.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @DanielLinda ,

 

If you are saying to show Amount as bar and Qty as lable next to axis, the answer is no.

However, you might be able to create a calculated column as below to splice Item and Qty column.

Column = 'Table'[Item]&" ("&'Table'[Qty]&")"

6.PNG

Then use this column as y-axis.

7.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Thanks @v-jayw-msft,

 

It is exactly same graph with what I expected.

I used the calculated column as you created, but when I use the new calculated column.

It didn't work with sort by column option.

 

I wanted to customized sort so made below table.

ItemSort
B1
D2
A3
C4
E5

 

This table has relation(1:*) with main table on Item column.

I want to use Item column to make search box by using slicer.

 

Is there any way to make the calculated column sorted by the above table?

Thanks.

Hi @DanielLinda ,

 

Add sort column to tooltips filed of the visual then you can sort the visual by sort column.

1.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@DanielLinda , I assume that you want to show Name and the value together.

 

Enable Display label and Set Position - Inside Base

 

That the nearest you can get

 

 

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.