Forum Discussion
ashmeet50
8 years agoFrequent Visitor
Merging two column charts together
Hello Everyone, I have made 2 column charts and both of them have different data sources. Age groups and Reference numbers are different in both the cases. How can I merge these two graphs where t...
- 8 years ago
Hi ashmeet50,
New a calculated table:
TB3 = UNION ( ADDCOLUMNS ( TB1, "Legend", "Source1" ), ADDCOLUMNS ( TB2, "Legend", "Source2" ) )Then, create group bins based on [Age] in "TB3".
Best regards,
Yuliana Gu
- 8 years ago
Hi ashmeet50,
Above error is caused by typing the DAX formula into a measure.
What you need is a calculated table as highlighted in below screenshot.
Best regards,
Yuliana Gu
v-yulgu-msft
8 years agoMicrosoft Employee
Hi ashmeet50,
New a calculated table:
TB3 =
UNION (
ADDCOLUMNS ( TB1, "Legend", "Source1" ),
ADDCOLUMNS ( TB2, "Legend", "Source2" )
)
Then, create group bins based on [Age] in "TB3".
Best regards,
Yuliana Gu
ashmeet50
8 years agoFrequent Visitor
Hello Yuliana,
I am getting an error message
The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
Ashmeet Singh
- v-yulgu-msft8 years agoMicrosoft Employee
Hi ashmeet50,
Above error is caused by typing the DAX formula into a measure.
What you need is a calculated table as highlighted in below screenshot.
Best regards,
Yuliana Gu