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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Azure Data Explorer Timestamp Truncation with RLS

When enabling RLS and using DirectQuery within Power BI, the timestamp field is being truncated/obfuscated, resulting in inaccurate query matching.

Details
A precise timestamp such as:
2024-11-05T08:00:03.2710808Z

Is altered by DirectQuery to:
2024-11-05T08:00:03.0000000Z

Because of this, DirectQuery truncates timestamp statements such as:
| where time == datetime(2024-11-05T08:00:03.0000000Z)
return no results, as the original timestamp no longer matches.

Impact / Workaround
We are required to apply a workaround using binning to force alignment:
| extend time = bin(time, 1s)

This behavior affects query accuracy and adds unnecessary transformation logic to reports.

Status: New