title: Min value with GROUP BY in Power BI Desktop
body: <pre><code>id  datetime             new_column           datetime_rankx
  1   12.01.2015 18:10:10  12.01.2015 18:10:10  1
  2   03.12.2014 14:44:57  03.12.2014 14:44:57  1
  2   21.11.2015 11:11:11  03.12.2014 14:44:57  2
  3   01.01.2011 12:12:12  01.01.2011 12:12:12  1
  3   02.02.2012 13:13:13  01.01.2011 12:12:12  2
  3   03.03.2013 14:14:14  01.01.2011 12:12:12  3
  </code></pre>
  
  <p>I want to make new column, which will have minimum datetime value for each row in group by id.</p>
  
  <p>How could I do it in Power BI desktop using DAX query?</p>