Forum Discussion
revansh
8 years agoHelper IV
Case statement comparing two columns - DAX FUNCTION
Hi All, Could you provide some inputs in writing a dax function for below scenario. Case when (table1[column1] = 1 and table2[column1] = 1) then 1 when (table1[column1] = 1 and tabl...
- Anonymous8 years ago
Hi revansh,
If you share some detail contents, it will be help to clarify your scenario.
If you already cross join or use related function to merge these columns to one table, you can try to use below formula to create a calculate column to return the result.
Result=if([T1 Column1]-[T2 Column1]=0,1,0)
Regards,
Xiaoxin Sheng
Anonymous
8 years agoNot applicable
Hi revansh,
If you share some detail contents, it will be help to clarify your scenario.
If you already cross join or use related function to merge these columns to one table, you can try to use below formula to create a calculate column to return the result.
Result=if([T1 Column1]-[T2 Column1]=0,1,0)
Regards,
Xiaoxin Sheng