Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Get the count of rows filtered by date

Hi all,

 

I am new to PowerBI.

 

In my project, I have an Attendance table with 2 Columns as Date and SubProject.

 

Dates will have dates and SubProject will have a variety of values.

 

I want to get number of rows with the value InOut in SubProject for the selected dates.

 

Please let me know how to start.

 

Thank you in advance.

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

Hello@Anonymous 

 

For what I have understood your query, you may use Power Query for this.

 

Post loading the table to Power Query Editor, you may apply the following steps:

 

The sample data I have created for this purpose:

 

1.JPG

 

Go to Transform > Group By

2.JPG

 

Select the Date column in the Group By window & select Count Rows in the Operation & click Ok3.JPG

This will give you a summary table with date wise count

 

Close & Apply

4.JPG

 

Regards,
Vivek

If it helps, please mark it as a solution

Kudos would be a cherry on the top 🙂

https://www.vivran.in/

 

View solution in original post

1 REPLY 1
vivran22
Community Champion
Community Champion

Hello@Anonymous 

 

For what I have understood your query, you may use Power Query for this.

 

Post loading the table to Power Query Editor, you may apply the following steps:

 

The sample data I have created for this purpose:

 

1.JPG

 

Go to Transform > Group By

2.JPG

 

Select the Date column in the Group By window & select Count Rows in the Operation & click Ok3.JPG

This will give you a summary table with date wise count

 

Close & Apply

4.JPG

 

Regards,
Vivek

If it helps, please mark it as a solution

Kudos would be a cherry on the top 🙂

https://www.vivran.in/

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.