cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nazrinka
Helper I
Helper I

Problem with Bars and Lines division

nazrinka_1-1600779389597.png

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 1
v-easonf-msft
Community Support
Community Support

Hi , @nazrinka 

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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.