Forum Discussion
LINE and CLUSTER Graph
Hi,
My date is in 2 tables as:
TABLE1:
STATE MONTH ACTUAL
NJ APR 2
NY APR 4
KY APR 3
NJ MAY 1
NY MAY 2
KY MAY 1
NJ APR 2
NY APR 2
KY APR 2
TABLE2:
MONTH TARGET
APR 10
MAY 12
JUN 15
WHEN I JOIN 2 TABLES :
MONTH ACTUAL TARGET
APR 9 10
MAY 4 12
JUN 6 15
BUT WHEN I CHANGE ABOVE TABLE TO LINE AND CLUSTER GRAPH. TARGET COLUMN IS ASKING FOR AGGREGATION.
MONTH ACTUAL TARGET
APR 9 37
MAY 4 37
JUN 6 37
HOW CAN I JOIN MY FIRST 2 TABLES TO GET TABLE3 AS RESULT.
tHANKS
5 Replies
- v-qiuyu-msftCommunity Support
Hi revansh,
In your scenario, you needn't to join those two tables. You can just create a relationship between those two tables based on Month, then you can drag the Month from Table2 to x-axis of the chart, Actual and Target with Sum aggregate function as chart values.
For details, you can download attached pbix file to have a look.
Best Regards,
Qiuyun Yu