Forum Discussion
Calculation between 2 tables
Anonymousmaybe i didn't understand you correctly, i created this calculation field under my "activity" table, but the DAX is invalid.
Hi Anonymous,
It seems like your table not direct contain the year and month fields, you can try to use Concatenate(Year([Datefield]),Month([Datefield])) to instead.
If above still not help, can you share me a sample to test?
Regards,
Xiaoxin Sheng
- Anonymous9 years agoNot applicable
Anonymous thanks, i've created [DateKey] under Pledge table, but gave me below error message when i trying to relationship it with the "created on" date under Activity table.
how can i share the data with you here?
- Anonymous9 years agoNot applicable
Hi Anonymous,
Try to create a table which contain the unique value, then create the relationship between above table and the new table.
Table = DISTINCT(UNION(VALUES(Table1[DateKey]),VALUES(Table2[DateKey])))
Regards,
Xiaoxin Sheng
- Anonymous9 years agoNot applicable
Anonymous still same error. how can I attach data to you here? 15% is correct, but rest month % is all wrong.