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
Hi experts,
How can I give list of records as input to a field. What datatype should I use in my power query code to enable taking input of list of records from the UI.
I have records like this
I want to utilize the above output in the below function
When I click on Choose Column, I am able to see the Query1 option in the dropdown but no columns are there to select.
Thanks
Vivek
If the input to your custom function is to be a List of Records, then the data type would be a List
The above screenshots are results of setting the datatype to list. I was not able to select a list of records even when I used list datatype.
You are only showing the screenshots from the user interface. For assistance, please post the code from the advanced editor.
Please refer to the below screenshots
1) Code in .pq file
2) Code which generates a list of records
3) In the RunDummyCalc funcion, I am trying to select the above "Query1" but I am not able to see any option to select entire table/ list of records
Next time post your code as text (using the "code box" from the top menu) to make it easier for those who might help.
= runDummyCalc(Query1[Column1])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 10 | |
| 6 | |
| 5 | |
| 4 | |
| 2 |