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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
pramita
Helper II
Helper II

Result of Divide is different when count of a column is displayed

Hi all, 
https://docs.google.com/spreadsheets/d/1fFcrdrdrj2hEmO3TARDwYC8fFKzSUvjJgseDGIjv3qI/edit#gid=0

 

This is my table, I need to to do a simple Divide, between the Antw>4,5 column and MW-f1f2 column. However, when I divide (Conversion = DIVIDE('hotjar'[Antw>4,5],'hotjar'[MW-F1F2]))

both the columns, (New Column = Conversion), I am getting a different result. It is maybe because in the visualization I have taken "Count of MW-F1F2". 

 

Screenshot (25).png

For example, in the 1st row, 3 by 5 should give 0.6, and not 0.01
Kindly let me know where I am going wrong. 

Thanks and Regards
Pramita

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pramita ,

I'm little confused about your problem... Do you want to obtain each Mail-Domail the count of [Antw>4,5] divide by the count of [MW-F1F2]? Or obtain each Mail-Domail the summarize value of [Antw>4,5] divide by the summarize value of [MW-F1F2]? I have created a sample file containing these two calculations, you can check the file for details.

Result of Divide is different when count of a column is displayed.JPG

If the above info is not what you want, please provide your desired result and the related calculation logic. Thank you.

Best Regards

Rena

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@pramita , divide should always be measure

Conversion = DIVIDE(sum('hotjar'[Antw>4,5]),sum('hotjar'[MW-F1F2]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  I tried that and the answers changed. They are not giving me the right answers nonetheless. Screenshot (27).png

For example, 1 by 1 is 0.22

@pramita Can you share sample data and sample output in table format?

 

14 % for 6/11 does not seem correct

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  I had shared the link to it on my post, please refer to it, I have been trying to log reply for very long, but the post is being marked as spam. 

Anonymous
Not applicable

Hi @pramita ,

I'm little confused about your problem... Do you want to obtain each Mail-Domail the count of [Antw>4,5] divide by the count of [MW-F1F2]? Or obtain each Mail-Domail the summarize value of [Antw>4,5] divide by the summarize value of [MW-F1F2]? I have created a sample file containing these two calculations, you can check the file for details.

Result of Divide is different when count of a column is displayed.JPG

If the above info is not what you want, please provide your desired result and the related calculation logic. Thank you.

Best Regards

Rena

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.