Forum Discussion

ringovski's avatar
ringovski
Helper II
3 years ago
Solved

Connect Power Bi to Data Set

Hi All, I have made a SSAS multidimesional data set in Report Builder and published it to the on premise reports server and I am wondering if it is possible to connect Power Bi to it and if so how? ...
  • d_gosbell's avatar
    d_gosbell
    3 years ago

    ringovski wrote:

    This sample is very close to your example but I need the string in the brackets, how do I generate that?

    There are 2 options. If you want to use the id of the dataset you can call the following endpoint to get a list of all the datasets and you can use the id property for the dataset you want.

     

     https://<server>/reports/api/v2.0/DataSets

     

    then you just call https://<server>/reports/api/v2.0/DataSets(  <your-dataset-id> )/Data 

     

    Or it looks like you have your datasets in a folder called "datasets" so you could use the path='' syntax in the brackets and use folder/dataset format:

     

    https://<server>/reports/api/v2.0/DataSets(path='/datasets/<dataset-name>')/Data