Forum Discussion
dethnass
Helper I
6 years agodivide two value by different tables (date problem)
Hello I would like to know how to divide the values of two columns from two different tables using group by. Major Problem is the tables doesnt have same Date set. In the first table, the rows contai...
az38
Community Champion
6 years agoHi dethnass
try measure in Table1
Measure =
var _tbl1Val = SUM(Table1[Data])
var _tbl1Date = MAX(Table1[Date])
var _tbl2Sum = CALCULATE(SUM(Table2[Data]), Table2[Date] = _tbl1Date)
RETURN
DIVIDE(_tbl1Val, _tbl2Sum)hammod2k
3 years agoNew Member
I am struggleing for 3 days to figure out how to solve similar case I have.
Million of Thanks👍