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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
radiator
Frequent Visitor

Datediff - many wrong results

Hi all,

 

I discovered there were issues with my datediff. It works and then it doesn't. When looking at a time period it looks like it starts not working when we are entering a new month. It works when the line is flat. Any idea what the issue here is?

radiator_0-1737062947018.png

 

Best regards,

 

radiator

 

1 ACCEPTED SOLUTION
radiator
Frequent Visitor

Nevermind, the stoptime column had turned into text after doing some query changes. Back to datetime and everything works fine.

View solution in original post

2 REPLIES 2
radiator
Frequent Visitor

Nevermind, the stoptime column had turned into text after doing some query changes. Back to datetime and everything works fine.

ToddChitt
Super User
Super User

We will need to see the DAX or M code that you have in place, along with some sample data.

Also, what do you HOPE to have as an expected output.

Help us help you. 




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.