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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.