Hi Bob
Thanks a lot for sharing your thoughts about the power of Dynamic AI!
Regarding the use of extra columns and divide by zero:
Did you use the Total (Formula style) of +Columns?
When using this type, Dynamic AI should return '0' instead of an error as shown in the below example, where I removed the Condition set on [Version] and grouped by version as first row grouper.
- Divide by zero in a Total (Formual) type of +Column
- Clipboard01.jpg (42.7 KiB) Viewed 19719 times
As you see the result is '0' where [Hrs] are null or 0.
If you still got trouble with this, you are more than welcome to send me screenshots showing the issues.
Also be aware that the main difference between a 'SQL' type and the 'Total' type is the time of the calculation. The 'SQL' type adds the sql statement to the original select and executes it, meaning that the average is calculated on transaction level. The 'Total' type is calculated after 'main report' preparation which gives you correct average calculation on the group levels as well.
Mikkel