Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

tableau equivalent for datediff

Hello, I am new to powerbi, and need help to convert tableau query to powerbi.


IFNULL({ FIXED [ID]:avg(DATEDIFF('second',[Submit Date],[Incident Resolve Date]))},0)


where [ID] is text

Community Support
Community Support

Hi @Nidhi_Kochrekar ,


I'm not quite sure if I understand your needs accurately.
Sample data without sensitive information and expected output would help tremendously.
Please see this post regarding: 

How to get your question answered quickly 


Hope it helps,

Community Support Team _ Caitlyn

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

Super User
Super User


Not familiar with tableau syntax, can you explain what exactly is needed with an example?

Did I answer your question? Mark my post as a solution! and hit thumbs up

Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors