The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I was trying to create a measurement that will show the total crimes in the last 24 hours on a chart.
This Hour and Last Hour works fine. But the Last 24 is not. Seems like it will no go through the entire Last 24 hours from Now()
Not sure if I need to use another visual to show it or probably just have it on a table/matrix and drag the dates in just to show
those affected dates/data
I have this calc column in my time table
Any help would be greatly appreciated.
I wonder if this is the reason, it seems like you made a minor mistake in your measure. If change this place to
"Last 24 Hours", the chart worked
i might be completely off base but would this work.
= var HrsDelta = 24 *( NOW() - Table1[dateTime] )
return if( HrsDelta <= 24 && HrsDelta >= 0, TRUE(), FALSE())
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
5 |