Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
govindarajan_d
Super User
Super User

%%dax does not work in notebook

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:

UsageError: Cell magic `%%dax` not found.
 
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

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:

vnikhilanmsft_0-1709624893101.png

Hope this helps. Please let me know if you have any further queries.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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:

vnikhilanmsft_0-1709624893101.png

Hope this helps. Please let me know if you have any further queries.

 

Hi @Anonymous,

 

Yes. This helps. Thanks!

Helpful resources

Announcements
August Fabric Update Carousel

Fabric Monthly Update - August 2025

Check out the August 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.