March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello
I am try to append two datesets obtained from Kusto into one and facing an stack overflow error.
Just to test this, kept only 1 entry in data set and kept the columns same but still getting the same error.
Dataset Query1:
Query2:
Append Error:
Copied the same data in 2 excels and append query works there. Looks like the issue occurs when the dataset is pulled from Kusto.
Sample Kusto query
ClientEventLog
| where env_time >= ago(1d)
| where ClientPage has "somepage"
| project TenantId, Page
| take 10
Does anyone knows what could be the reason behind it?
Solved! Go to Solution.
Hi @akasthan ,
There is a known issue about appending data from Kusto into power bi based on my search(ICM: 219724212).
From the information collected by PG, the best workaround for this is probably to call Table.AddIndexColumn on the Kusto data before using Table.Combine.
The main advantage of Table.AddIndexColumn is that it can be used by someone through the UI without any typing.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @akasthan ,
There is a known issue about appending data from Kusto into power bi based on my search(ICM: 219724212).
From the information collected by PG, the best workaround for this is probably to call Table.AddIndexColumn on the Kusto data before using Table.Combine.
The main advantage of Table.AddIndexColumn is that it can be used by someone through the UI without any typing.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot @v-kkf-msft, this works.
Although I went ahead with the alternative approach of taking union in Kusto itself before pulling the data in PowerBI.
let query1 = ClientEventLog
| where env_time >= ago(1d)
| where ClientPage has "somepage"
| project TenantId, Page
| take 10;
let query2 = ClientEventLog
| where env_time >= ago(1d)
| where ClientPage has "somepage2"
| project TenantId, Page
| take 10;
query1 | union query2;
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |