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
Vishal_2202
New Member

Conditional new column

How to get max date value of column 1 if column 2 has value'xy' and column 3 has value'2'.

 

 

1 ACCEPTED SOLUTION

@Vishal_2202 

Pleae try

=
CALCULATE (
    MAX ( 'Table'[column1] ),
    'Table'[column2] = "xy",
    'Table'[column3] = 2
)

View solution in original post

4 REPLIES 4
tamerj1
Super User
Super User

Hi @Vishal_2202 
Please try
CALCULATE ( MAX 'Table'[column1] ), ALLEXCEPT ( 'Table', 'Table'[column2], 'Table'[column3] ) )

But we can't define specific value from column 2 and column 3

@Vishal_2202 

Pleae try

=
CALCULATE (
    MAX ( 'Table'[column1] ),
    'Table'[column2] = "xy",
    'Table'[column3] = 2
)

Thanks @tamerj1 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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