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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Now to compare two date columns from different tables

I need to compare two date columns in the tables 'Verzuim' and 'Verzuimmelding', both are conected to a central date table.

 

Verzuimmelding column show the start date of when somebody called in sick.
Verzuim column shows the total days of them being sick (as an example if somebody called in sick on 01-01-2022 and returned on 08-01-2022, then it would show 01-01, 02-01, 03-01 etc etc).

 

I need to check if the start date is the same as the date that they called in sick, but I just can't seem to find the right forumla.

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

 

Please try:

the date that called in sick = CALCULATE(MIN('Verzuim'[Date]),FILTER(ALL('Verzuim'),[ID]=MAX('Verzuimmelding'[ID])))

Then apply it to the visual:

vjianbolimsft_1-1672646311205.png

Final output:

vjianbolimsft_0-1672646239216.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

 

Please try:

the date that called in sick = CALCULATE(MIN('Verzuim'[Date]),FILTER(ALL('Verzuim'),[ID]=MAX('Verzuimmelding'[ID])))

Then apply it to the visual:

vjianbolimsft_1-1672646311205.png

Final output:

vjianbolimsft_0-1672646239216.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Mahesh0016
Super User
Super User

@Anonymous 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.