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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Fabric update to learn about new features.
User | Count |
---|---|
51 | |
39 | |
18 | |
14 | |
8 |