Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone,
I would like to have the x-axis named according to the data, and not be placed at the top of the chart. For example in the attached picture, the "Banking, Commercial, Education, etc" i want them to be placed in the x-axis under each bar. So how can i do that?
Thanks in advance.
Solved! Go to Solution.
Okay.
So "Banking, Commercial, Education, etc" are separate columns.
Try the below steps;
1)Go to Transform Data.
2)Right click and select the columns which you want in your X axis.
3)Go to Transform from the upper tab and select 'Unpivot columns'.
4)You will get a 'Attribute' column.
5)Go to File ->Close and Apply.
6)On your report page, pick a visual and drag 'attribute' column on the Axis field and your calculation or measure on the 'Values' field.
If this post helps, then mark it as 'Accept as Solution'.
Regards,
Sanket Bhagwat.
Hi @sr12 .
Put "Banking, Commercial, Education, etc" in 'Axis' field and not in 'Legend' field.
If this post helps, then mark it as 'Accept as Solution'.
Regards,
Sanket Bhagwat
Tahnk you for your reply, but when i do that, the bar chart gets empty and all the data are gone.
Put any measure or calculation or any column in the 'Values' field.
Regards,
Sanket Bhagwat
Okay that worked but for the x-axis only the fist data is showing; which is banking in this case. and all other categories are not shown in the chart.
can you share a screenshot of your expected output?
As you can see in the below screenshot, only one category is shown and the other categories are not.
Okay.
So "Banking, Commercial, Education, etc" are separate columns.
Try the below steps;
1)Go to Transform Data.
2)Right click and select the columns which you want in your X axis.
3)Go to Transform from the upper tab and select 'Unpivot columns'.
4)You will get a 'Attribute' column.
5)Go to File ->Close and Apply.
6)On your report page, pick a visual and drag 'attribute' column on the Axis field and your calculation or measure on the 'Values' field.
If this post helps, then mark it as 'Accept as Solution'.
Regards,
Sanket Bhagwat.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |