Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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"
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |