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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
elria
Helper II
Helper II

Calculated Measure and Python script

Dear all,

In my report I use a what if parameter that feeds a calculated measure and this calulated measure is passed to a variable in my python code for caluclations. Nevertheless, when I run the python code in the visual editor I get the error that the variable is not defined.

 

Any idea how i can connect the calculated measure with the python code? currently I pass it in my dataframe but cannot be recognized.

 

Thank you,

Elria

 

 

1 REPLY 1

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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