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

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

Reply
Anonymous
Not applicable

Trying to get multiple columns from a table onto the x axis

The data from our crm used to have the different criteria in a single column, making it easier to create a cluster column. However this has now changed so that the six options are now in columns when exported looking like this:

 

                       option a option b option c

Company 1       true       null         null

Company 2       null         true        null

Company  3       null          null      true

 

Any idea on how I can pull this into one column?

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Anonymous 

Is this what you want?

in PQ, select company column and unpivot other columns

1.png2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can may be use concatenate to club all the column values into a single column or can directly merge all columns in POwer Query editor.

 

I like to go with the 2nd option as it is creating a column. You can do something like below:

Go to Power Query Editor in Power BI using Transform Data option.

Go and select your data-set there:

Pragati11_0-1640008887460.png

Select all the columns you merge together by using Ctrl+Click on windown machine and right click to choose Merge columns option:

Pragati11_1-1640008987887.png

Once you select Merge Columns  option, you get a window where you can choose separator and name for this merged column: (My selected options are shown)

Pragati11_2-1640009053819.png

Once yoou click Ok, both columns are merged:

Pragati11_3-1640009163081.png

 You can follow same steps in your scenario.

 

Thanks,

Pragati

 

 

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

ryan_mayu
Super User
Super User

@Anonymous 

Is this what you want?

in PQ, select company column and unpivot other columns

1.png2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thanks, looks like it has worked. Would this be updated as the CRM is updated or will this have to be done manually?

@Anonymous 

if the raw data changed, these action steps will apply to the new data automatically.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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