Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Problem with Bars and Lines division

Dear All,

 

I need to find ratio of the line value to the bars value. 

I have made a calculated measure where I divide as this

 

Count of EventType divided by Count of NumberOfCompleted =
DIVIDE(
    COUNTA('N errorsper day'[EventType]),
    COUNTA('production'[NumberOfCompleted])
)
 
But for some reason when it divides by bar value (number of completed) it considers it as 1... and therefore I get 3, instead of 0.06
 
Maybe because it takes it as distinct value...
 
Anyone has a clue?
 
Thanks

 

1 Reply

  • v-easonf-msft's avatar
    v-easonf-msft
    Community Support

    Hi , Anonymous 

    Not very clear.

    I did‘t find anything related to "bar value (number of completed) it considers it as 1... and therefore I get 3, instead of 0.06" in your screenshot.

    Can you explain it in more detail?It will be better if you can share you sample data.

     

    Best Regards,
    Community Support Team _ Eason