Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Just perplexed with this problem and new to PowerBI, want to just divide Number of leavers / Average Number of employees but seem to get as strange number when applying the calculation below. (numbers have been generated from excel detail values) Can anyone help please
Solved! Go to Solution.
Try this:
Turnover = DIVIDE(Turnover[Number_of_leavers],Turnover[Average_No_Employees],0)
This assumes that everything is a column.
Solved the issue, this was related to trying to use the divide function without checking the columns were integer values (assumed import from excel might of taken care of that) I then used measures rather than column as was getting incorrect calculated values and having issues with showing decimals etc. Wow sometimes this was a simple issue, not giving up yet.
Thank you for all that replied.
Solved the issue, this was related to trying to use the divide function without checking the columns were integer values (assumed import from excel might of taken care of that) I then used measures rather than column as was getting incorrect calculated values and having issues with showing decimals etc. Wow sometimes this was a simple issue, not giving up yet.
Thank you for all that replied.
Hi @shahfx
Assume [Number of leavers] and [Average Number of employees] are all columns and don't aggregation like sum, average, ect.
I test with your example data and formula, it shows the correct result as you wanted.
If you have this problem till now, please let me know what's your dataset like and whether any aggregation has been applied.
Best Regards
Maggie
Try this:
Turnover = DIVIDE(Turnover[Number_of_leavers],Turnover[Average_No_Employees],0)
This assumes that everything is a column.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |