Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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())
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 16 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 13 | |
| 12 | |
| 10 | |
| 6 |