Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Row Count based on month

I have following table

YesJan
YesJan
YesFeb 
YesMar
YesMar
YesApril
YesApril

 

I need it to be like

2Jan
1Feb
2Mar
2April

 

Can someone help me achieving this?

  • Yes.  In the query editor, select your month column, hit the Group By button in the ribbon on the Home tab, then choose Count as the aggregation.

     

    If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

    Regards,

    Pat

1 Reply

  • mahoneypat's avatar
    mahoneypat
    Microsoft Employee

    Yes.  In the query editor, select your month column, hit the Group By button in the ribbon on the Home tab, then choose Count as the aggregation.

     

    If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

    Regards,

    Pat