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.
I am confused. Converting either a Date or a DateTime value should return the same numerical value, as it is the same day.
Why not? Is there something in the settings I missed....?
Any advise appreciate.
Thanks.
I used the following measures:
DAX NOW = NOW()
DAX CONVERT NOW = CONVERT(NOW(), INTEGER)
DAX TODAY = TODAY()
DAX CONVERT TODAY = CONVERT(TODAY(), INTEGER)
Solved! Go to Solution.
@AnjaW - both of these are rounded up to a whole number, where the time element is not visible.
TODAY will produce 45539.00, whereas NOW() includes the time element as decimal places, below the screenshot shows how this changes the Interger value when it is rounded up:
If this answers your query, please accept it as the solution to assist others with the same question.
@AnjaW - both of these are rounded up to a whole number, where the time element is not visible.
TODAY will produce 45539.00, whereas NOW() includes the time element as decimal places, below the screenshot shows how this changes the Interger value when it is rounded up:
If this answers your query, please accept it as the solution to assist others with the same question.
Thank you, that makes sense. Much appreciated.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |