We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello
I have a question regarding duplicates rows.
I created a Microsoft Form that goes to a Sharepoint list. Some of the answers (3) can have different answers separated by commas.
Once in powerBI, I use the query editor to split the answers using comma as the delimiter.
the problem is that by doing this 3 times, I end up with triplicate rows. (one row extra for each split)
Any idea how to keep only one row and remove the other duplicates?
thanks
Solved! Go to Solution.
Hi @romovaro ,
If you want to show the several answers separated you will always get duplicated or triplicated rows, in this case believe that the best option is to have a dimension table for your main data for the form with Id, date and so and then create a fact table with your answers that have duplicates, triplicates and so on.
Then making use of the relational model you can have all your calculations done.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi MFelix Thanks for your suggestion. At the end I found a solution in Power Query to split Multiple columns into Rows ALL at once by creating custom columns using the Text.Split formula + creating Table.From Columns and Expand.)
Hi @romovaro ,
If you want to show the several answers separated you will always get duplicated or triplicated rows, in this case believe that the best option is to have a dimension table for your main data for the form with Id, date and so and then create a fact table with your answers that have duplicates, triplicates and so on.
Then making use of the relational model you can have all your calculations done.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi MFelix Thanks for your suggestion. At the end I found a solution in Power Query to split Multiple columns into Rows ALL at once by creating custom columns using the Text.Split formula + creating Table.From Columns and Expand.)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |