Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I am trying to use Semantic link in Spark notebook and everything works fine. But instead of using fabric.evaluate_dax, I am trying to use the %%dax magic command to run my dax queries.
But I get the following error:
Solved! Go to Solution.
Hi @govindarajan_d
Thanks for using Fabric Community.
Apologies for the issue you have been facing. I tried to repro the same scenario and got the same error. The error message "UsageError: Cell magic %%dax
not found" indicates that the %%dax
magic command is not available in your Spark notebook environment. For now this magic command is not yet available in Fabric Notebooks. I have escalated this to our team and the team would fix this.
The available magic commands are as follows:
Hope this helps. Please let me know if you have any further queries.
Hi @govindarajan_d
Thanks for using Fabric Community.
Apologies for the issue you have been facing. I tried to repro the same scenario and got the same error. The error message "UsageError: Cell magic %%dax
not found" indicates that the %%dax
magic command is not available in your Spark notebook environment. For now this magic command is not yet available in Fabric Notebooks. I have escalated this to our team and the team would fix this.
The available magic commands are as follows:
Hope this helps. Please let me know if you have any further queries.
Hi @Anonymous,
Yes. This helps. Thanks!
User | Count |
---|---|
15 | |
15 | |
14 | |
10 | |
7 |
User | Count |
---|---|
38 | |
30 | |
27 | |
22 | |
15 |