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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Error when using Text Analytics

Hi,

 

Was attempting to use text analytics function to extract key phrases from "Comments" column and it returns an error

= AIFunctions.PostProcess(Table.AddColumn(#"Added Custom1", "Extract key phrases", each #"Extract key phrases"([Comments], "en-us")), "Extract key phrases", "CognitiveServices.ExtractKeyPhrasestexttext") meta [FunctionBrowser="TextAnalytics"]

 Error:

Expression.Error: We cannot convert the value "[Function]" to type Function.
Details:
Value=[Function]
Type=[Type]

 

Was suspecting the nulls in comments field perhaps? or would it matter if there is alpha numeric in th field

 
 
4 REPLIES 4
Sangari10
New Member

Estoy teniendo ahorita un error parecido, cómo lo solucionaste ? 

 

v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

I don't see "AIFunctions.PostProcess" in any Power Query References documents.

You could refer to the completed guide below:

https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/tutorials/tutorial-power-bi...

 

Best Regards

Maggie

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

Anonymous
Not applicable

Hi

 

Unfortunately i was really looking foward to using some osrt of text mining functionality to extract patterns of words from comments.

The text Analytics function is allowed for being a premium user I suppose.

 

This error appears even if the datatype is consistent on fields where no nulls. Is there anything else you can assist with?

 

Expression.Error: We cannot convert the value "[Function]" to type Function.
Details:
    Value=[Function]
    Type=[Type]

Hi @Anonymous 

You could show your detailed needs, we may solve it by other ways.

 

Best Regards

Maggie

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.