Forum Discussion
Add Column using value form another table
Hi,
I have 2 tables:
Table [A]
TimeZone
How do I add another colum in [A] that will use a column a vlaue in the TimeZone table without using a Merge Query?
The Timezone table only contains one value which is the number of hours to offset. Ideally I would like to use this value as a parameter but have not figured out how to do it.
10 Replies
- Phil_SeamarkMicrosoft Employee
Hi Anonymous
If you have a 1 to many relationship between Timezone (1) and Table [A] (many)
You can add a calcualted column on Table [A] using syntax like. Just replace the Value with your own column.
New Column = RELATED(TimeZone[Value])
- AnonymousNot applicable
Hi Phil,
Currently both tables are independant and is NO RELATIONSHIP between them.
Therefore I cannot use the RELATED DAX function.
Do I have to create a relationship?
- Phil_SeamarkMicrosoft Employee
Hi Anonymous
It will be easier if you can create a relationship. Is there any reason why you can't?