Forum Discussion
jaymanivannan
8 years agoFrequent Visitor
Date function to add minutes
Hello, I have a specific requirement with Date and Time. I need to display Event Start Date Time (This is avaialble in SQL server database) and Event Seating Time in Power BI Report. Event Seating ...
- Anonymous8 years ago
Dear jaymanivannan,
Yes, we can add minute. You can try step by step:
- Click "Edit Query" in the Home Tab
- Choose the table you want to addMins
- Leave Home tab, click Add column tab
- Click button "Custom colum" (see the picture below)
- "New column name" = Event Seating Time
- "Custom column formular": [Event Start Date Time] - #duration(0,0,30,0)
- Click "Close & Apply" in Home Tab. Check your result (in my sample picture is +30 mins).
Regards,
ManNVSM.
Phil_Seamark
8 years agoMicrosoft Employee
You might be able to use the TIME function to help.
The following code starts with 1st Jan, 2017, then adds 10 hours, 1 min, 1 second, then adds a further 1 minute to that.
Measure = DATE(2017,1,1) + TIME(10,1,1) + TIME(0,1,0)
jaymanivannan
8 years agoFrequent Visitor
Phil_Seamark - Thanks for the reply Phil. This solution is not working. Let me try.