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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ppng222
Regular Visitor

Filter Rows based on Date Column

Hi, I am looking to create a report based off of some API data I am grabbing, the only issue is that it has to be based per day. I am looking to create a column that uses the dates from DateTimeFilter to count the amount of rows/entries with the same date in StartTime. I would also need a column that counts the distinct users on that day too. Does anyone have any tips to get started?

ppng222_0-1684157000273.png

ppng222_1-1684157090152.png

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @ppng222 

 

You can first add a Start Date column from StartTime in the same table. Then create a relationship from Date table [DateTimeFilter] to this [Start Date]. 

vjingzhang_0-1684311424350.pngvjingzhang_1-1684311455282.png

Then create the following measures. Use them in a visual along with DateTimeFilter column. 

Measure 1 = COUNTROWS('Table')
Measure 2 = DISTINCTCOUNT('Table'[UserUuid])

vjingzhang_2-1684311467174.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @ppng222 

 

You can first add a Start Date column from StartTime in the same table. Then create a relationship from Date table [DateTimeFilter] to this [Start Date]. 

vjingzhang_0-1684311424350.pngvjingzhang_1-1684311455282.png

Then create the following measures. Use them in a visual along with DateTimeFilter column. 

Measure 1 = COUNTROWS('Table')
Measure 2 = DISTINCTCOUNT('Table'[UserUuid])

vjingzhang_2-1684311467174.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.