This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Dear All,
How can I transform the variable BA in the left table to the wide format in the right one using Power BI?
Many thanks in advance.
Rudy
Solved! Go to Solution.
Hi @Rudy123 ,
To achieve this, use Power Query and follow these steps:
1. Split Column BA by Delimiter to rows (not columns!)
2. Add Custom Column: Custom = 1.
3. Pivot columns: BA and Custom.
4. IN the Pivoted Column option change the Aggreate Value Function to Count(ALL) to receive zeros.
The result:
| Memorable Member | Former Super User If I helped, please accept the solution and give kudos! |
Thanks lkalawski!
Your solution works fine and I was surprised of how powerful and handy Power BI is for this kind of issues.
Dear All,
I would have a question related to this situation.
How can I create a pie chart for the frequency of each basket category on the total ( 5 items) with a slider to select across the categories (ANIMAL, FISH, VEGETAGLE)?
My initial situation is that on the left table for which I create the split to multiple columns. Is there a way to insert a filter/slider in a visual for "Contain the text FISH" so that one can avoid the transformation step?
Many thanks in advance!
Rudy
Hi @Rudy123 ,
To achieve this, use Power Query and follow these steps:
1. Split Column BA by Delimiter to rows (not columns!)
2. Add Custom Column: Custom = 1.
3. Pivot columns: BA and Custom.
4. IN the Pivoted Column option change the Aggreate Value Function to Count(ALL) to receive zeros.
The result:
| Memorable Member | Former Super User If I helped, please accept the solution and give kudos! |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |