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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pareshmotiwala
New Member

Issues rendering kql query

Hi folks

I am extremely new to KQL and fabric.

I am following https://learn.microsoft.com/en-us/fabric/real-time-analytics/kusto-query-set?tabs=kql-database

I ingested the Storms CSV into a new table as recommended by them. 

I can see the data but when I run their query

NewTableDemo

|Summarize count() by bin(ingestion_time(), 2h) -- I tried 800 hours as well.

| render timechart --The time chart doesn't work as demonstrated in their page.

 

Can somebody help please?

Regards

Paresh

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pareshmotiwala ,

The x-axis field should be a datetime, Y-axis should be numeric values. Is ingestion_time() a datetime type column? You can refer the following codes to generate a time chart, please find the details in the following official documentation:

Time chart visualization - Azure Data Explorer & Real-Time Analytics | Microsoft Learn

StormEvents
| where StartTime between (datetime(2007-01-01) .. datetime(2007-12-31)) 
    and DamageCrops > 0
| summarize EventCount = count() by bin(StartTime, 2h)
| render timechart
    with (
    title="Crop damage over time",
    xtitle="Date",
    ytitle="Crop damage",
    legend=hidden
    )

vyiruanmsft_0-1715911869395.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @pareshmotiwala ,

The x-axis field should be a datetime, Y-axis should be numeric values. Is ingestion_time() a datetime type column? You can refer the following codes to generate a time chart, please find the details in the following official documentation:

Time chart visualization - Azure Data Explorer & Real-Time Analytics | Microsoft Learn

StormEvents
| where StartTime between (datetime(2007-01-01) .. datetime(2007-12-31)) 
    and DamageCrops > 0
| summarize EventCount = count() by bin(StartTime, 2h)
| render timechart
    with (
    title="Crop damage over time",
    xtitle="Date",
    ytitle="Crop damage",
    legend=hidden
    )

vyiruanmsft_0-1715911869395.png

Best Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.