Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
unknown_anony
Helper II
Helper II

How to calculate difference between dates and check if it exceeds the limit?

Hello 
I am working in one of my report and the requirement is to calculate the difference between two dates , compare if each emploee exceeds the limit of no of days spend in a country. 
For Example

unknown_anony_0-1700565213027.png
The solar days(tech term) is caluated  min and max date of a project.

As per the screenshot i need to calculate if an exployee exceeding its stay for a particular project in a country every year or not and show it in a table.
How will i do it?
All suggestions are welcome
Thank you

 

2 REPLIES 2
marcelsmaglhaes
Super User
Super User

Hey @unknown_anony ,

You can check this post: Solved: Calculating the difference between two dates - Microsoft Fabric Community


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



Thank you

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.