Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi ,
I have a dataset with a row for every person. These people have answered multiple questions about if a certain aspect of a location is good, sufficient, insufficient, etc. What i want is a barchart with these ratings for all these questions at once. The way my data is organised now it doesn't seem possible, but i'm sure i can transform it one way or the other so that it will be.
Earlier i had another - maybe similar - problem. People answered a question for their first sport and one for their second sport. It was the same question. What i wanted then was almost the same: to put it in one chart, where i want to count both answers (if one person answers yes for sport one, and yes for sport two, it's two times yes). I managed to get to what I need by grouping and unpivoting, see code below. I am actually unsure if this is the way to go and if I can use this idea again for the problem i have now.
#"Grouped Rows" = Table.Group(#"Filtered Rows", {"Opwelkemanierisjouwsportgeorganiseerd", "Opwelkemanierisjouwsportgeorganiseerd_A"}, {{"organisatie", each Table.RowCount(_), Int64.Type}}),
#"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Grouped Rows", {"organisatie"}, "Attribute", "Value")
in
#"Unpivoted Columns"
Thanks for suggestions!
@Anonymous , What I think you need split by delimiter
https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
If this does not help
Can you share sample data and sample output in table format?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
80 | |
48 | |
48 | |
48 |