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
Hello
How to perform actions on 'every column of a table' regardless of the number and name of the columns?
I would like for example:
1) get the unique values of each column
2) get the first give values of each column
etc
Thanks!
Please find below the source table and I want to output the following lists of unique values per column. Please note I want the solution to work regardless of the table and columns!
| Col1 | Col2 | Col3 |
| 1 | 2 | 3 |
| 2 | 3 | 4 |
| 1 | 2 | 3 |
| 2 | 3 | 4 |
| Col1 |
| 1 |
| 2 |
| Col2 |
| 2 |
| 3 |
| Col3 |
| 3 |
| 4 |
do you want to combine the columns to a new table?
Proud to be a Super User!
@ryan_mayu yes or I may do additional transformations once I get these unique value lists, I thank you!
could you pls provide the sample data and expected output?
Proud to be a Super User!
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |