Forum Discussion
summing differetn tables
AlexTandem If I understood you correctly you need to sum two columns that are from different tables. You can do that by creating a meaure in first table as Table1Measure = Sum([column]). Then create measure in table 2 as Table2Measure = Sum([column]). Then simply create another measure that is the sum of two previous measures.
It's almost what I need, thank you!
I did as you said, but now I see another problem.
I need to sum total spent money (that's ok now) but also sum per every day for both yandex and Google.
When i use your method, one of the traffic sources shows me exactly the same ammount of money spent per each day.
For example, if I use cost and date from Yandex table and cost from Google table, in Google all the spent money are the same for each day.
I attache screenshot to show you how if looks like
https://yadi.sk/i/vzJF8k71v7BWX
Is there any way to sum each day for different tables?
Thank you!
- v-haibl-msft9 years agoMicrosoft Employee
If you have two tables which are similar as below. You can try with following measure formula.
Totalad = SUMX ( Yandex, CALCULATE ( SUM ( adwords[adwords cost] ), FILTER ( adwords, adwords[Date] = Yandex[Date] ) ) )Best Regards,
Herbert
- AlexTandem9 years agoFrequent Visitor
I've tried this option but it's just doesn't work...
I atatche file from BI where I have all the data.
Is there any way to sum adwords cost with yandex cost?
https://drive.google.com/file/d/0B7HKF6qS_btbMTV3c1hOcDRpN2c/view?usp=sharing
Many thanks for helping
- v-haibl-msft9 years agoMicrosoft Employee
Just to confirm, do you want to get 18004.82 for 9/2/2016, 22622.94 for 9/3/2016?
Best Regards,
Herbert