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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors