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 have a complex function that does a ton of modeling on some very wide and deep tables. To reduce the amount of data the function takes a single text argument that is used as a filter. At the end the function returns a table that is cleaned up as required.
I have another query that is the list of all possible filter values that could be applied to my initial function. Single column of text values where each row represents a possible filter value.
I'm stumbling over how to basically loop through that list of filter values and generate a table for each filter value. I'm not sure if I need to build an actual loop or if there is some way I can iterate through the list and generate the neccessary tables for each?
Thanks,
-Robert
Solved! Go to Solution.
The first list should be a one-column table, then invoke your function as a new column:
The first list should be a one-column table, then invoke your function as a new column:
Ugh, such a "duh" moment, answer was right in front of my face and I ignored it. Thank you!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!