Does any one know how to create a connection to the solarwinds DB thru Power BI.
Not specifically a Solarwinds question, but these two documents should give you what you need to learn. There is nothing particularly unique about connecting to Orion compared to any other MSSQL database.
Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Docs
SQL Server Analysis Services live data in Power BI - Power BI | Microsoft Docs
You would ideally want to have a separate user account for power BI to use, but to just test getting connected you could re-use the same account as your orion application uses to write to the db.
It would be good to be able to access via SWIS
I don't use powerbi enough to know if it can parse json natively, but if it knows how then there's really nothing to stop you from connecting to the API and pushing SWQL to it rather than direct SQL.