This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.