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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
treeofwisdom100
Regular Visitor

twitter entity analysis

Hi All,

 

I would like a method to import the entities and types in my power bi dataset with tweets similar to this sentiment model in: http://nisalbi.blogspot.com/2017/10/step-by-step-twitter-sentiment-analysis.html

 

This is the resultset from this method but I can't be sure how to import this and put this in a list of most common Persons or organisations within Power BI (https://docs.microsoft.com/en-gb/connectors/cognitiveservicestextanalytics/#EntitiesResult)

 

 

Here is the resulset from a recent politician's tweet. How would I process this into PowerBI for an indeterminate number of Entities?

[
  {
    "id""2020-05-30T10:24:57.000Z",
    "entities": [
      {
        "name""AOC",
        "matches": [
          {
            "entityTypeScore"0.8878183960914612,
            "text""AOC",
            "offset"1,
            "length"3
          }
        ],
        "type""Organization"
      },
      {
        "name""Riot",
        "matches": [
          {
            "wikipediaScore"0.207984138670666,
            "entityTypeScore"0.8,
            "text""Rioting",
            "offset"48,
            "length"7
          }
        ],
        "wikipediaLanguage""en",
        "wikipediaId""Riot",
        "wikipediaUrl""https://en.wikipedia.org/wiki/Riot",
        "bingId""edfc8233-01bd-45cf-0878-a66dec3ddc51",
        "type""Other"
      },
      {
        "name""George Floyd",
        "matches": [
          {
            "entityTypeScore"0.966582179069519,
            "text""George Floyd",
            "offset"165,
            "length"12
          }
        ],
        "type""Person"
      }
    ]
  }
]

 

How can I go about this with a power apps flow + power bi streaming dataset?

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @treeofwisdom100 

Could you please tell me whether your problem has been solved?
If it is,  please mark the helpful replies or add your reply as Answered to close this thread.
It will help other community members easily find the solution when they get the similar issue.

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

v-easonf-msft
Community Support
Community Support

Hi , @treeofwisdom100 

It seems that only  one entity in the streaming dataset is supported by design.

It is recommended to create a streaming data set for each entity.

 

BTY,you  can also   use web data source to call Twitter API and do the data cleaning in Query Editor .

Please refer to these related posts and video.

https://chris.koester.io/index.php/2015/07/16/get-data-from-twitter-api-with-power-query/

https://www.youtube.com/watch?v=i88CBli0uQc

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors
Top Kudoed Authors