Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi,
I made a survey using Microsoft Forms and many of my questions were rankings. However, the results are put into a single cell and are delimited by semicolumns. For instance, in a hypothetical "Question 1" if I ranked first Option B and then Option G and finally Option A, I would get a single cell under the column "Question 1" which said "Option B;Option G;Option A".
Can I translate these results into a chart like this one below that you see in Forms? Or at least in any other chart?
Thank you very much!
Hi.
You just need to create a custom colum with a table inside and a rating to each of the elections, then deploy the table and calculate the Sum of ratings vs the Options
I created as example a table with the options selected separated by semicolons (ordered from more to less importance):
You need now to create a Custom Column with the following code
let
optionsList = Text.Split([Option],";"),
optionsTable= Table.FromList(optionsList),
AddRating = Table.AddIndexColumn(optionsTable,"Rating", 3,-1)
in
AddRating
You get a column with Tables
Simply Expand the tables
And you can the plot the new Column1 vs the sum of Rating (make sure Rating data type is a number)
Hope this resolves your question. Case it is, please mark it as a solution.
Yes, it is possible to almost replicate this in Power BI. It will take the following steps:
You should have the visualization that you are looking for at this point. A couple of limitations:
You should have the visualization that you are looking for at this point. A couple of limitations:
- You can also set the Tooltips in the visualization to "Count of rank" so that when you mouseover you can see the count of the ranked item vs the total responses. What I have not figured out is how to represent all of this in percentages as you would see in the default report generated by MS Forms.
Figured how to get the percentages for this visualization to work properly. Within the querying process, for the rank-order new query, add a column that does a DISTINCTCOUNT of the Index column. Then within the report you need to create three measures:
Hi @baobab,
If I understand your scenario correctly that you have got data from Microsoft Forms in Power BI Desktop and want to create the visual silmilar with the chart you upload with the Ranking of the questions?
I'm not familar with Microsoft Forms, if it is convenient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
In addition, for your requirement, the conditional formatting may be your choice.
Best Regards,
Cherry
Hi v-piga-msft, thanks for replying.
You understood the scenario correctly. If not the same visual, I'd like at least to plot that data in some kind of chart. Here's the dummy file. I've kept two columns, one with the time to identify each responder and another one with the actual data.
Basically, the ranking from MS Forms is translated into excel in a single cell, with every choiche of the ranking ordered from first to last choice, divided by a semicolumn.
Thank you!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.