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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Gpop13
Advocate II
Advocate II

Connect to Semantic Model from Notebook and run a DAX

Hi,

I want to be able to connect to a semantic model in the workspace from a pyspark notebook, and execute some DAX like

EVALUATE
   INFO.MEASURES()

Is there a way to achieve this?

 

Thanks!

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @Gpop13,

 

I haven't tested, but have a look at this post and see if it helps.

https://www.fourmoo.com/2025/05/14/using-a-python-notebook-using-semantic-link-labs-to-write-a-dax-q...

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

3 REPLIES 3
v-saisrao-msft
Community Support
Community Support

Hi @Gpop13,

I hope you had a chance to review the solution shared by @KNP . If it addressed your question, please consider accepting it as the solution — it helps others find answers more quickly.
If you're still facing the issue, feel free to reply, and we’ll be happy to assist further.

 

Thank you.

KNP
Super User
Super User

Hi @Gpop13,

 

I haven't tested, but have a look at this post and see if it helps.

https://www.fourmoo.com/2025/05/14/using-a-python-notebook-using-semantic-link-labs-to-write-a-dax-q...

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

@KNP thank you so much for directing me to this. I was able to connect to a semantic model and run a dax. I have not written to any target table yet, but happy to close this here at this point.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Fabric Update Carousel

Fabric Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.