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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Rows per day

 

I would like to know how many rows I get per day per id

 

Input 

Document.deveui Document.time
00-0b-57-ff-fe-b5-54-9a 2020-07-15T17:17:35.275759Z
00-0b-57-ff-fe-b5-54-9a 2020-07-17T19:30:17.743033Z
00-0b-57-ff-fe-b5-54-9a 2020-07-17T19:31:51.218990Z
00-0b-57-ff-fe-b5-54-9a 2020-07-17T19:31:52.638143Z
00-0b-57-ff-fe-b5-54-9a 2020-07-15T01:17:30.122525Z
00-0b-57-ff-fe-b5-54-ff 2020-07-15T00:17:36.310303Z
00-0b-57-ff-fe-b5-54-ff 2020-07-15T01:17:30.922525Z
00-0b-57-ff-fe-b5-54-ff 2020-07-17T19:31:51.218990Z
00-0b-57-ff-fe-b5-54-ff 2020-07-17T19:31:52.638143Z

 

 

Needed output 

 

  readings
00-0b-57-ff-fe-b5-54-9b 2
00-0b-57-ff-fe-b5-54-9b 3
00-0b-57-ff-fe-b5-54-ff 2
00-0b-57-ff-fe-b5-54-ff 2
4 REPLIES 4
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Create a Calculated Column

Date = DATE(YEAR('Table'[Document.time]), MONTH('Table'[Document.time]), DAY('Table'[Document.time]))

 

1.jpg2.JPG

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

amitchandak
Super User
Super User

@Anonymous , you need to create a date column first

 

Date = [Document.time].date

 

then you have plot Document.deveui , Date, and count(Table[Document.deveui]) on a visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Your sample source data does not seem to match your sample output. Do you want to average the number of rows an item has per day?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
lbendlin
Super User
Super User

Convert Document.time to a date type or create a calculated column with the date value of Document.time.

 

Then you can add that new column to the visual and achieve the desired result.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.