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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Comparing a column with various dates with a column with only one date

Hi guys,

I am using the function calculate and in one of the ifs I want to make something like 'Table1'[Dates]>='Table2'[Date]. The problem is that Table 2 has only one line, is it possible to make this date in table 2 dynamic? Because the only solution I have come accross so far is to put mannually the data myself by using the function DATE.

Also, another idea that I had was to make a column in Table 1 where the column has only the date from table 2 in every line, but I don't know how to make that as well.

Thank you

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

If you know that Table 2 will only ever have 1 line then you could use 'Table 1[Date] >= SELECTEDVALUE( 'Table 2'[Date])

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

If you know that Table 2 will only ever have 1 line then you could use 'Table 1[Date] >= SELECTEDVALUE( 'Table 2'[Date])

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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