cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Calcaluted columan based on if statment

This is in Excel and i want the same as calculated columan in power bi

 

=IF(Status="Under Review",TODAY()-Date Submiited ,Response Date-Date Submiited)

 

Please help

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Supplier
Solution Supplier

Hi,

Use this:

Column = IF(Status="Under Review",DATEDIFF(Table[Date Submiited],TODAY(),DAY) ,DATEDIFF(Table[Date Submiited],Table[Response Date],DAY)

You can change the interval as you need.

Thanks.

View solution in original post

1 REPLY 1
Highlighted
Solution Supplier
Solution Supplier

Hi,

Use this:

Column = IF(Status="Under Review",DATEDIFF(Table[Date Submiited],TODAY(),DAY) ,DATEDIFF(Table[Date Submiited],Table[Response Date],DAY)

You can change the interval as you need.

Thanks.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors