Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |