Forum Discussion
kohlivinayak
8 years agoResolver I
zero from divide function showing arbitrary value
Hi all I am using this below formula Current PC Contribution = DIVIDE(SUMX(Sheet1,IF(Sheet1[PC - 2]=Sheet1[max pc],Sheet1[Contrib val_3],0)),SUMX(Sheet1,IF(Sheet1[PC - 2]=Sheet1[max pc],Sheet1...
- 8 years ago
v-chuncz-msft
8 years agoCommunity Support
I can not reproduce the issue. Share us the .pbix file if convenient. Do mask sensitive data before uploading.
kohlivinayak
8 years agoResolver I
PBIX File:
https://drive.google.com/file/d/1CbhbmtplRSJxzu-CBVwMWe4zkHUuQj89/view?usp=sharing
the value for CSD is comming wrong, though the total is coming out correct.
- v-chuncz-msft8 years agoCommunity Support
The denominator is not exactly zero. A decimal number is always stored as a double-precision floating point value. You may change the data type of [Qty in Ton Adjusted] to fixed decimal number from the Modeling tab.
- kohlivinayak8 years agoResolver I
Tried modeling as well as rounding off not working.
- v-chuncz-msft8 years agoCommunity Support
It works for your .pbix above, please check again. As a kindly reminder, protect your privacy information.