Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I would like to try a simple Sentiment analysis with a R Script.
I created a dimensional model but im not sure how to handle the user comments. I hope someone can give me some advices.
I thought about just to create a simple User Dimension (with name, address, age)
and a fact table with some measures.
I would like the integrate a R-Script (R Script visual) and let the sentiment run on the comments. But right now Im not sure where I should store the comments.
I thought first about store them in the fact table but I also read long text attributes should not be stored in the fact table, because of performance reasons. Now my question: can i store them in a dimension table and still run the R-Script and get the right results?
HI @yellow_days,
If your tables contains accurate relationships, it is possible to analysis related dimensional table columns.
Since I'm not familiar with dimensional datasource, I'm not so sure if above method works on all dimensional models.
Notice: current power bi not support analysis many to many relationships.
BTW, you can also post this to analysis service related forum to know how r script work with dimension data model.
Regards,
Xiaoxin Sheng
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 26 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 41 | |
| 31 | |
| 21 |