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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Time Intelligence with Direct Query on Data Explorer (Kusto)

Hello friends,

We try to create a simple measure that compares revenues from previous month.

Our data source is Kusto (Azure Data Explorer).

It seems that the simple CALCULATE(SUM(Amount),DATEADD(Calendar[Date],-1,MONTH)) is not working well

I am aware that working with Direct Queries is not always possible to do many DAX calculations, but this is very simple need - compare with previous period

Any ideas?

Thanks

Michael

2 REPLIES 2
TomMartens
Super User
Super User

Hey,

 

this article explains a lot of date related calculations: https://www.daxpatterns.com/time-patterns/

I assume that you will find a solution for your problem.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thank you, Tom

But my question was about the context of Kusto (Azure Data Explorer)...

Which calculations are working with Direct Query?

Thanks

Michael

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.