Forum Discussion
Bakhtawar
Post Patron
7 years agoDifference between 2 columns in power bi
I am trying to take the difference between two columns. Below is an expression in qlik sense that I would like to translate into DAX LPO_DATE - (CLM_INTM_DT) +1 I tried this in power bi DAX but...
Tahreem24
Super User
7 years agoYou need to create relationship between both the table (LPO_Excel, Claims_Excel) and then create measure or column that would work on 'LPO_Date' - 'CLM_INTM_DT'.
- Bakhtawar7 years ago
Post Patron
relationship already developed.. have you checked the link ?
- Tahreem247 years ago
Super User
If have seen it so there is an Warning while creating a Many-to-Many relarionship. So make the key values unique and atleast single match in both the key column.
(See below screen shot of your file)
- Bakhtawar7 years ago
Post Patron
yes i know and this is the only key which should be link .. if i get any other realtionship then same error occured..