Getting difference of two dates in seconds with PowerPivot DAX
User Rating: / 0
PoorBest 
Written by Kasper de Jonge   
Saturday, 05 December 2009 20:31

I wanted to get some information on a importing process where i load different files into a database. I don’t have access to the database i only get CSV export files from the admins.

I have two date fields where i want to see the difference between them in seconds (should only take seconds). In SQL Server i would have used DateDiff function and be done with it. No such function is available in DAX so we have to be creative ourselves. I loaded the CSV into PowerPivot and decided to add new measurs in PowerPivot window.

Read more...

  Tags: excel, dax
 

Pyramid+PowerPivot