Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Combine Elements together

help.PNG

 

Looking at the picture, you can see how there are 5 fire stations. I need all of the numbers to be in the same row, so there's only one fire station. How can I do this?

6 REPLIES 6
amitchandak
Super User
Super User

@Anonymous , How are you able to show 5 rows. In matrix all same values should group together.

 

Create a column like this where you have fire station value

New Colum = "-" & [column] & "-"

 

Now use this, this will let you know if there is space of special character or take len

len([column)

put length and that column and unsummarized and check how many values you get.

 

Fix the issue.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak I don't really understand what you want me to do. I'm new to Power Bi. I tried making the column but it just gave me errors.

 

Anonymous
Not applicable

@Anonymous 

Try following steps in Query Editor:

1. Transpose table

2. Hold shift/ctrl, select the 5 columns with fire stations and merge the 5 columns

3. Transpose table again

4. Replace value (replace the merged cell 5 times fire stations to 1 fire stations)

5. Rename the columns

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

@Anonymous , I just wanted you add something before or after the text to know if there are additional character or use len function to check lenght to find out. 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@Anonymous it is bizzare, is there any special invisible character that is seperating all these text values, may be in power query, clean the column value and see if that works.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k This is what the data looks like.

powerbi.PNG

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors