Forum Discussion
HuntBA2
7 years agoRegular Visitor
Combinig 2 charts
Morning folks, I have 2 charts that use the same formating and when run seperately work fine, but when I try to combine the data, which ever set I add second sums the full year rather than the mo...
v-juanli-msft
7 years agoCommunity Support
Hi HuntBA2
Sorry for my bad statement, let me edit it again
1. firstly, don't keep any relationship between "workshop" and "workshop plan" tables.
create calculated columns in the "workshop" table
month1 = CONCATENATE(CONCATENATE(YEAR([invoice date]),"-"),MONTH([invoice date]))
month = CALCULATE(MIN([invoice date]),ALLEXCEPT(workshop,workshop[month1]))
invoice value per month = CALCULATE(SUM(workshop[invoice value]),ALLEXCEPT(workshop,workshop[month]))
2.create a new table with the "workshop" table
new table = SUMMARIZE(ALL(workshop),[month],workshop[invoice value per month])
3.edit relationship between "new table" and "workshop plan" table
then drag "date" and "plan" from "workshop plan" table, "invoice value per month" from "new table" onto the visual on the report.
Best Regards
Maggie
HuntBA2
7 years agoRegular Visitor
Hi Maggie,
OK - so when trying to do the 1.1 it looks like you are suing i get this error