Forum Discussion
elliotdixon
Responsive Resident
10 years agoDivide one column by another
I have two tables, JobRuns & JobRunDocket I need to divide the number runs in one table by the number of associated dockets in another table. Each run can have multiple dockets. Number of loa...
- 10 years ago
Cheers for all the help people.
Unfortunately couldnt manage to get the answer I wanted with the calculations recommended.
Did however manage to connect to an SQL view that was written with the right data in it.
Didn't know that was possible but all working well now.
ED.
leonardmurphy
Skilled Sharer
10 years agoExcellent point. I always forget that until I get a divide by zero error.
elliotdixon
Responsive Resident
10 years agoCheers for all the help people.
Unfortunately couldnt manage to get the answer I wanted with the calculations recommended.
Did however manage to connect to an SQL view that was written with the right data in it.
Didn't know that was possible but all working well now.
ED.
- Amir25509 years agoFrequent Visitor
newcolName =
DIVIDE(
SUM('table1'[col1]),
SUM('table1'[col2])
)