Forum Discussion
How do I make a new column from two different tables?
How do I create a new table?. The table will be made by subtracting two columns from two different tables?. These are the two tables I am trying to subtract:
Any help is appreciated.
5 Replies
- amitchandak
Super User
HamidBee , You need to have common dimensions like Attributes and can have measure like and analyze against common dimensions
Sum(2020[value]) -sum(2021[value])
- HamidBee
Power Participant
They should have the same months and values if one was to analyze it row by row. Is that what you mean by common dimensions? Also is there a specific DAX code that is used for subtracting columns like this.
- amitchandak
Super User
HamidBee , You have a calendar table, In that, you should have a month (without year) to compare against month
You should prefer measure to subtract data across two tables
Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19