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

Get Fabric certified for FREE! Don't miss your chance! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.