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
Hi , I would like to create a column to show the values as 1 if the time difference between the current time and the recorded times in the table is between 0 to 30 mins. ,meaning to say I want to show only the last 30 mins data as 1 and the rest of them should be zero. Could anyone help.Thanks.
Solved! Go to Solution.
Hi,you can use this dax :
@Anonymous , thanks a lot. modified my table to datetime and it worked.thanks.
Hi,you can use this dax :
@Anonymous , thanks a lot. modified my table to datetime and it worked.thanks.
Hi @Anonymous ,thanks for the reply. I wonder why I am not getting the right answer? Does it need to be date time or just the date alone?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 34 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |