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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jasemilly
Helper III
Helper III

Invoked custom function calls Microsoft text analytics

Hi 

I have a M language query that collects chat,  I am have created a custom function that uses Microsoft cognative services API and retrives the sentiment value, this works fine

Is it possible to request the function on new rows of data, so I am not making requests for rows I already have a sentiment value for?

As this will increase the refresh time and incur a cost for rows I already now about.

 

we use the pro licence version

 

thanks

Jason

 

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @jasemilly ,

 

Do you mean to use the custom function to process some existing data in Power BI?

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

I do but only on new rows.

 

I wouldnt want to make the api call on rows that existed prior to the latest refresh as I have these results already.  This will slow the refresh down and would increase the cost of using microsofts API.

 

thanks

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI 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.