Forum Discussion
compare columns in two tables with same column names
- 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
NewMeasure = 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
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
- pxg086809 years ago
Resolver III
Hey Thank You for the help.
I actually did it in a different way and it worked.