We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |