Revit Instances in Power BI

I turned this into a function. Take a look at this thread: