Hello, I'm developing a dashboard for the company that I currently work for. I'm getting data from a licensed database that we own, and we currently own 24 licenses for that database. However, whenever I refresh the data in Power BI, it uses up as many licenses as it can. Is there a setting where I can refresh each table one at a time using the same license?
You could try going into File -> Options, then under "Current File" -> "Data Load" try turning off the option to enable parallel loading of tables. This might slow down your load a little, but I think this might also restrict it to only using a single connection to the source system.
Another way to do it is to use the Power BI REST API to push /refresh the dataset. Your code could control the connections and thus not have to use up all licenses. Parallel processing helps performance, but it also depends on your data source and a lot of other factors. For the most part I have found that pushing data is fast and you have control. In this scenario I would suggest you do a push. (I assume you are talking about the service here, not PBI RS)
The API's are simple and you can use a tool like fiddler or Postman to do test it out. If you are embedding in your application, you will need to get up to speed with the API. It's very easy to use, as well.