Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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 , @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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.