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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Help Needed with Calculated Column.

Hi All. Below i am pasting a SQL statement:

 

"case when state in ('Awaiting Info','Open','New') then Due_Date"

 

How do i write DAX for calculated column according to the SQL statement above? Any help would be much appreciated. Thanks in Advance!

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Try:

ColumnName = IF([state) in {'Awaiting Info','Open','New'}, "Due_Date")

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Try:

ColumnName = IF([state) in {'Awaiting Info','Open','New'}, "Due_Date")
Anonymous
Not applicable

@vicky_ Thank you very much. It Worked.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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