The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 Time is should be a derrrived (calculation) measure in the report layer. The logical formula is, Event Seating Time= (Event Start Date Time - 30 minutes ). I am trying to create a measure with DATEADD function, but not able to add/ subtract minute.
Please help me if any one came across this scenario.
Thanks,
Mani
Solved! Go to Solution.
Dear @jaymanivannan,
Yes, we can add minute. You can try step by step:
Regards,
ManNVSM.
Dear @jaymanivannan,
Yes, we can add minute. You can try step by step:
Regards,
ManNVSM.
Hi @Anonymous - Thanks for the update. This solution works !!
Regs,
Mani
Glad to hear that 🙂
Regards,
ManNVSM.
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)
@Phil_Seamark - Thanks for the reply Phil. This solution is not working. Let me try.
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
30 |
User | Count |
---|---|
95 | |
74 | |
67 | |
52 | |
51 |