Forum Discussion
pxg08680
Resolver III
9 years agocompare columns in two tables with same column names
Hi Everyone, I have two tables A&B and have a column which is same in both the tables. I would like to compare the two columns and see if there is any difference between them and...
- 9 years ago
Hi pxg08680,
According to your description above, you should be able to use the formula below to create a new measure and show it on the report to get the actual difference. :smileyhappy:
Diff = SUM ( CommercialBuyIntentVisits[MetricValue] ) - SUM ( CubeData[CommercialBuyIntentVisits] )Regards
pxg08680
Resolver III
9 years agoNewMeasure = IF(SUM(CubeData[CommercialBuyIntentVisits]) = SUM(CommercialBuyIntentVisits[MetricValue]), 1, 0)
I have used this dax query to see if there is any difference between two data columns and represeted as 1 or 0.
Now I want to find the acutal difference between the values.
How do i do that..
Thank You
v-ljerr-msft
Microsoft Employee
9 years agoHi pxg08680,
According to your description above, you should be able to use the formula below to create a new measure and show it on the report to get the actual difference. :smileyhappy:
Diff =
SUM ( CommercialBuyIntentVisits[MetricValue] )
- SUM ( CubeData[CommercialBuyIntentVisits] )
Regards