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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Create Table using data in multiple columns

 

 

I am trying to make a single table in PowerBI using all the data below... any help would be appreciated

 

Sample data

samp table.png

 

 

Using the data above I can create a table for a specific column example :

basic table.png

 

What I am trying to do is make a table that would show counts from all columns, Example.

trying to make.png

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a new table with UNION() and SELECTCOLUMNS() function.

Table 2 =
UNION (
    SELECTCOLUMNS ( table1, "TU", table1[T1U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T2U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T3U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T4U] )
)

Then you can count it.

 

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

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a new table with UNION() and SELECTCOLUMNS() function.

Table 2 =
UNION (
    SELECTCOLUMNS ( table1, "TU", table1[T1U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T2U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T3U] ),
    SELECTCOLUMNS ( table1, "TU", table1[T4U] )
)

Then you can count it.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
amitchandak
Super User
Super User

Create unpivoted table

refer : https://radacad.com/pivot-and-unpivot-with-power-bi

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 This data is coming from shairpoint and is not pivoted, I only provided a sample based off of how the true data is presented to me.   When I tried to follow those instructions everything transformed to "Error"

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.