This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I'm looking for help getting a count of instances where the timestamp is the same so that I can chart on a line graph against time of day.
Throw Count Table:
| ID | TOD(RND) |
| 266268 | 8:30:00 AM |
| 266268 | 8:30:00 AM |
| 266268 | 9:00:00 AM |
Obviously the table is much bigger and has more than one ID on it but I'm getting total numbers in the graph for the distinct id. I'm hoping to get a answer if based on the above that 266268 threw twice at 8:30AM and once at 9:00AM. Thanks!
Solved! Go to Solution.
HI @jason5703 ,
You can use the following measures to calculate instance count based on current timestamp group, then you can create a line chart with timestamp field as axis, measure on value fields.
measure =
CALCULATE ( COUNT ( Table[ID] ), VALUES ( Table[TOD(RND)] ) )
Regards,
Xiaoxin Sheng
Hi @jason5703 ,
did you solve your problem?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
HI @jason5703 ,
You can use the following measures to calculate instance count based on current timestamp group, then you can create a line chart with timestamp field as axis, measure on value fields.
measure =
CALCULATE ( COUNT ( Table[ID] ), VALUES ( Table[TOD(RND)] ) )
Regards,
Xiaoxin Sheng
Hi @jason5703 ,
create a calculated column an concatenate this two columns.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 48 | |
| 27 | |
| 23 | |
| 20 |