Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |