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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.