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

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

Reply
EdEvetts
Helper II
Helper II

topic detection using cognitive services

Hi all

 

I followed the excellent post by @DataChant on text analytics using the Cognitive Services APIs and was wondering if anyone had seen anything on Topic Detection? I have tried unsuccessfully to use the guidance and searched around for examples but can't find anything. 

 

Any help gratefully recieved

 

thanks Ed

 

1 ACCEPTED SOLUTION
DataChant
Most Valuable Professional
Most Valuable Professional

The API is not so new. Last time I tried it (6 months ago), I wasn't sure how to send a POST request with no content, which was required by the API. But now I know how to do it 🙂
I may share the solution to apply Topic Detection in my Power BI Text Analytics Webinar: https://info.microsoft.com/US-PowerBI-WBNR-FY17-03Mar-09-TextAnalyticsinPowerBI300768_01Registration...

Update: I am sorry. My answer above is wrong. The POST with the empty content was a showstopper of a different API. The issue with this API is that it returns HTTP 202 with the operation-location header that contains the URL where the answer will be available. Unfortunately, Power Query doesn't support HTTP 202 due to security reasons. According to the dev team, this is by design. The only way you can implement Topic detection is outside Power Query.

View solution in original post

7 REPLIES 7
parry2k
Super User
Super User

Hey I used cognitive service for sentiments and keywords, i'm not sure what you mean by topic detection, may be you mean "keywords"

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k

 

I did wonder if they were the same thing, but I noticed this quick start guide in the the text analytics page which is doing something slightly different from key words which I was keen to try out

 

https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-text-analytics-quick-st...

 

This is a newly released API which returns the top detected topics for a list of submitted text records. A topic is identified with a key phrase, which can be one or more related words. The API is designed to work well for short, human written text such as reviews and user feedback.

 

thanks Ed

Aha, that is surely new and seems like it goes across many articles. interesting, I surely used sentiments and key phrases but not topics, would surely like to try.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

DataChant
Most Valuable Professional
Most Valuable Professional

The API is not so new. Last time I tried it (6 months ago), I wasn't sure how to send a POST request with no content, which was required by the API. But now I know how to do it 🙂
I may share the solution to apply Topic Detection in my Power BI Text Analytics Webinar: https://info.microsoft.com/US-PowerBI-WBNR-FY17-03Mar-09-TextAnalyticsinPowerBI300768_01Registration...

Update: I am sorry. My answer above is wrong. The POST with the empty content was a showstopper of a different API. The issue with this API is that it returns HTTP 202 with the operation-location header that contains the URL where the answer will be available. Unfortunately, Power Query doesn't support HTTP 202 due to security reasons. According to the dev team, this is by design. The only way you can implement Topic detection is outside Power Query.

thanks for the update

OK excellent, just signed up for that one. will leave work a little early so i can get home in time to enjoy it in comfort Smiley Very Happy Great posts by the way, I really enjoyed working through them. Thanks Ed

Thanks and I did already joined it. Cheers



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.