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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to make a single table in PowerBI using all the data below... any help would be appreciated
Sample data
Using the data above I can create a table for a specific column example :
What I am trying to do is make a table that would show counts from all columns, Example.
Solved! Go to Solution.
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.
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.
Create unpivoted table
@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"
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 161 | |
| 132 | |
| 117 | |
| 79 | |
| 54 |