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.
I have two bar charts, I want the bottom one to be formatted, so that the bars start on the left, like the top bar chart is.
I understand why it starts from the right, because those figures are all negative, but I need it to be from the right like the top bar graph, but with the figures staying as negative.
It currently looks like this:
Does anyone know how I can do this?
I should also mention that the labels need to stay on the left.
Solved! Go to Solution.
@Anonymous
ahhh... those pesky pence causing a nuisance...😊
Try typing in: -"£"#,0.00;-"£"#,0.00
(the thousands and decimal seperators shown in the example value in my case correspond to the spanish definition (my pc local settings) so just ignore them; it should render as "," for thousands and "." for decimals for you - in other words, respecting your local settings.
Proud to be a Super User!
Paul on Linkedin.
@Anonymous
One method is:
1) make your measure into positive values (measure *-1)
2) go into the modeling pane, select the measure, go to the format option, choose custom in the dropdown, and format the values to display negative values:
Format values to display negative values:
and you can now create your bar chart:
Just beware that the measure format remains wherever you use this measure!
Proud to be a Super User!
Paul on Linkedin.
Were almost there, the right graph is the new one:
I changed the format to: -£#,##.##;-£#,##.##
But as you can see in the image, when the sum doesn't have any pence at the end, it just shows £15 instead of £15.00, any idea how I sort that?
@Anonymous
ahhh... those pesky pence causing a nuisance...😊
Try typing in: -"£"#,0.00;-"£"#,0.00
(the thousands and decimal seperators shown in the example value in my case correspond to the spanish definition (my pc local settings) so just ignore them; it should render as "," for thousands and "." for decimals for you - in other words, respecting your local settings.
Proud to be a Super User!
Paul on Linkedin.
Were almost there, the right graph is the new one:
I changed the format to: -£#,##.##;-£#,##.##
But as you can see in the image, when the sum doesn't have any pence at the end, it just shows £15 instead of £15.00, any idea how I sort that?
Have you considered using a function like ABS() in a query to change all the numbers to positive ones. The label says "Expenses" and you could keep the red color.
I'm a personal Power Bi Trainer I learn something every time I answer a question
The Golden Rules for Power BI
Help when you know. Ask when you don't!
I condsidered this, but for other items on the page, they need to be shown as negatives, so ABS isnt the right solution for me on this.
you can use 2 columns, one that shows positive, one that shows negative... then insert the positive column only for this graphic.
Help when you know. Ask when you don't!
Im not sure what you mean sorry?
you can have the same number in the table in 2 columns, one with minus, one plus
each graphic on the report has its own list of columns it displays. where you need to display the minus numbers, use the column with the minus version of the number
Help when you know. Ask when you don't!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |