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
Please your help with a proper solution to show data from the last 24 hrs and them, count amount of rows and put it into a card.
Current scenario:
I have a column called "Time" with Date/Time/TimeZone format as the one shown bellow:
What is needed is to count how many rows are present for the last 24 hrs throughout a measure and them, display the amount of rows using a card.
Can someone explain how to implement this in a dashboard card?
Hi @Anonymous ,
Timer = SUMX(_Time,IF(_Time[Time]>NOW()-1 && _Time[Time]<= NOW(),1,0))
My table name is _Time. Create a measure like this. Select a card, and drag the measure to the card. Here is my pbixTime
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
r
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 13 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |