Forum Discussion
Uspace87
2 years agoResolver III
Run Dax query in Fabric Notebook
Hi all, I hope someone can help me :). I am running a trace on a dataset using Fabric Notebook (Python). Basically meanwhile the trace is running I refresh the report and I get as a result ...
Anonymous
2 years agoNot applicable
Hi Uspace87 ,
Syntax of evaluate_dax - sempy.fabric package | Microsoft Learn
It expects string
Can you please check the type(query1) ? I can see it is not a string.
Hope this is helpful. Please let me know incase of further queries
Uspace87
2 years agoResolver III
Hi Anonymous thanks for the replay. as you can see in the output I am printing the dax query and the type of the variable (query) and it's a string but if I pass it as a variable the code does not work, I have to copy and paste the text itself as you did in your example