Forum Discussion

sash's avatar
sash
Frequent Visitor
9 years ago
Solved

bar chart sizes not correct

Hi there,

 

I have a problem that seems to me as a bug in the PowerBI chart visual.

 

I have a column that is defined as a decimal number. Then I have a measure that sums this column and is defined as a whole number (in the Modelling tab).

 

When I create a bar chart for the measure, the result in the chart is strange. Both 18 Jan and 19 Jan have the value of 12, however in the chart the size of the bars are different. Also the bar height difference between 2 and 3 and 3 and 4 is different. Look at the data table below.

 

Has anyone experienced this before?

 

 

  • sash

     

    hi, the difference is because 18-01 is 11.5 and 19 is 12.0

     

    The Format is only to display but not change the Data Type.

     

    If you need the 11.5 transform in 12, you have to round up engagements Measure.

     

    Engagements = ROUNDUP(SUM(FactTweetEngagement[EngagementsDiff]),0)

6 Replies

    • sash's avatar
      sash
      Frequent Visitor

       

      Yep, here it is. It seems that the measure in the chart is not used as "whole number".