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
Hi @Uspace87 ,
Thanks for using Fabric Community.
I haven't tried it, can you please try like this?
query1 = 'final_trace_logs.iloc[0]['Text Data']'
or
query1 = "final_trace_logs.iloc[0]['Text Data']"
Please let me know if you got any errors?
Hello @Uspace87 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
Otherwise, will respond back with the more details and we will try to help .
hi @Anonymous thank you for your reply but that would not work.
as I mentioned before I do store the the dax code into the variable query1
query1 = final_trace_logs.iloc[0]['Text Data']
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
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
Hi @Uspace87 ,
Can you please share the screenshot for below codes -
query1 = final_trace_logs.iloc[0]['Text Data']
print(query1)
final_trace_logs.iloc[0]['Text Data']
print(type(query1))
I can get some more idea of your problem and I can help you out.
Hello @Uspace87 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
Otherwise, will respond back with the more details and we will try to help .
Thanks
User | Count |
---|---|
8 | |
6 | |
5 | |
2 | |
1 |
User | Count |
---|---|
15 | |
10 | |
5 | |
4 | |
4 |