Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
smpa01
Super User
Super User

DAX to return ISO Date Format

I can run this js on a browser console that returns the timestamp including milliseconds

 

smpa01_0-1662739644786.png

 

Does DAX have anything similar at all? (not looking for a PQ solution).

I tried following

smpa01_1-1662739742105.png

Thank you in advance.

 

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
4 REPLIES 4
Watsky
Solution Sage
Solution Sage

Hey @smpa01,

How about ... 

NewDate = FORMAT(UTCNOW(),"YYYY-MM-DDTHH.mm.ss.SSSZ")

or you could add it to the format section under Column tools.  

Watsky_0-1662743401124.png

 


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

@Watsky  thanks for this.

 

But it does not seem to spit out milliseconds (I think)

 

smpa01_1-1662745488676.png

 

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Yeah 😞 for whatever reason Power BI refuses to use the miliseconds (fractional seconds) instead rounds up the second. I can't see any way to do this without working in PQ or having the timestamp brought in as text.


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

Anonymous
Not applicable

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors