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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Users online (5,022)