The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Solved! Go to Solution.
Hi @Satish_Kumar,
Please use the following formula to calculate variance update column.
variance update = IF('NTT 16-17'[Last Payment on]<'NTT 16-17'[DueDate],DATEDIFF('NTT 16-17'[Last Payment on],'NTT 16-17'[DueDate],DAY),1*DATEDIFF('NTT 16-17'[DueDate],'NTT 16-17'[Last Payment on],DAY))
Thanks,
Lydia Zhang
You can use the DATEDIFF function to calculate the difference between the two dates.
its only subtracting the days
if 12/2/2016-17/4/2016
answer is -5 only which is wrong
Hi @Satish_Kumar,
Please use the following formula to calculate variance update column.
variance update = IF('NTT 16-17'[Last Payment on]<'NTT 16-17'[DueDate],DATEDIFF('NTT 16-17'[Last Payment on],'NTT 16-17'[DueDate],DAY),1*DATEDIFF('NTT 16-17'[DueDate],'NTT 16-17'[Last Payment on],DAY))
Thanks,
Lydia Zhang
ITS VERY IMPORTANT FOR ME HELP ME AS SOON AS POSSIBLE.