Forum Discussion

jeancadames's avatar
jeancadames
New Member
2 years ago

Group by date and by column the values

Hello, hopefully someone can help me with this

I have this function in power query

 

= let
    n = {" ", "", "undefined"},
    Source = Users,
    Result = Table.FromColumns( 
      {
        Table.ColumnNames( Source ), 
        List.Transform( Table.ToColumns( Source ), each List.Count( List.Select( _, (v) => List.Contains( n, v))) ) 
      }
    )
in
    Result

 

 

this already gives me the the values aggrupated by the column name of the table Users, but I need it also by date, I have a creation_date in my table and i would like to aggroupated by that also, how can i do it? 

1 Reply