Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Ok, about to check myself into a ward.
Anyone had success with this? I've already developed a function in Kusto that takes the two variables; one string, one date.
The parameters come from a user.
Calling it from PQ is funky, imo. Funky in that it seems impossible.
let pinteresting = interesting,
peventdate = "datetime([eventdate])",
stringqry= "EventsParsed_FN([pinteresting],[peventdate])"
Source = AzureDataExplorer.Contents("https://<my>.westus2.kusto.windows.net", "<myDB>", stringqry, [MaxRows=null, MaxSize=null, NoTruncate=null, AdditionalSetStatements=null])
in
Source
😣
What is interesting referencing? Is that some other query you have written? Is that supposed to be text?
What is "datetime([eventdate])" referencing. That is just text. What does the final outneed need to look like for stringqry and some example parameters? Is it upposed to to be text and date as a number?
let pinteresting = "interesting",
peventdate = #date(2023,1,1), // or #datetime(yyyy,m,d,h,m,s) or #Date.FromText("1/1/2023")
stringqry= "EventsParsed_FN(" & pinteresting & "," & Number.From(peventdate) & ")",
Source = AzureDataExplorer.Contents("https://<my>.westus2.kusto.windows.net", "<myDB>", stringqry, [MaxRows=null, MaxSize=null, NoTruncate=null, AdditionalSetStatements=null])
in
Source
'Interesting' references a string variable that needs to come from the user. I have a Power Automate flow that will request the user input but have no examples on how to use it in Power Bi.
'eventdate' is also from user.
'Interesting' references a string variable that needs to come from the user. I have a Power Automate flow that will request the user input but have no examples on how to use it in Power Bi.
'eventdate' is also from user.
Please tell me this is possible.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
34 | |
17 | |
12 | |
11 | |
9 |
User | Count |
---|---|
45 | |
25 | |
16 | |
14 | |
14 |