Forum Discussion

D_Lav's avatar
D_Lav
Icon for Helper I rankHelper I
4 years ago
Solved

New Usage Metrics report - no dataset

Hi!

 

I am getting really weird response when i try to create new usage metrics report. 

 

First of all, My new report is not updated. Only shows data up to january 5

 

When i switch to classic i see everything, 

 

I read in an earlier post here that i should try to update credentials on the dataset. unfortunatly, my usage metrics dataset is not showing under settings-datasets,

 

I have tried to recreate usage metrics report several times and dataset is still not showing. 

 

Any help would be great!

 

  • Hi D_Lav ,

    Please first make sure the Usage Metrics setting in Tenant setting is enabled:

    1.f you aren't the current dataset owner, you must take over ownership before you can update the data source credentials.

    2.If you suspect data consistency or refresh issues, it might make sense to delete the existing Usage Metrics Report dataset. Then you can run View Usage Metrics again to generate a new dataset with its associated improved usage metrics reports. Please follow these steps to delete the dataset and then create a fresh data refresh report:

    1. Open the workspace that contains the report for which you want to reset the Usage Metrics Report dataset.

    2. In the black header bar at the top, select the Settings icon, then select Settings.

    3. Switch to the Datasets tab, and select the Usage Metrics Report dataset.
    4. Copy the workspace and dataset IDs from the URL displayed in the address bar of your browser.
    5. In your browser, go to https://docs.microsoft.com/rest/api/power-bi/datasets/deletedatasetingroup, and select the Try It button.

    6. Sign in to Power BI, paste the Workspace ID in the groupId text box and the dataset ID into the datasetId text box, and then select Run.
    7. Under the Run button, verify that the service returns a Response Code of 200. That code indicates that the dataset and its associated usage metrics reports have been deleted successfully.

     

    And I also tested it in my environment without the problem, you can also test it on your other dataset and see if the same problem occurs.

     

    Did I answer your question? Mark my post as a solution!


    Best Regards

    Lucien

9 Replies

  • v-luwang-msft's avatar
    v-luwang-msft
    Icon for Community Support rankCommunity Support

    Hi D_Lav ,

    Please first make sure the Usage Metrics setting in Tenant setting is enabled:

    1.f you aren't the current dataset owner, you must take over ownership before you can update the data source credentials.

    2.If you suspect data consistency or refresh issues, it might make sense to delete the existing Usage Metrics Report dataset. Then you can run View Usage Metrics again to generate a new dataset with its associated improved usage metrics reports. Please follow these steps to delete the dataset and then create a fresh data refresh report:

    1. Open the workspace that contains the report for which you want to reset the Usage Metrics Report dataset.

    2. In the black header bar at the top, select the Settings icon, then select Settings.

    3. Switch to the Datasets tab, and select the Usage Metrics Report dataset.
    4. Copy the workspace and dataset IDs from the URL displayed in the address bar of your browser.
    5. In your browser, go to https://docs.microsoft.com/rest/api/power-bi/datasets/deletedatasetingroup, and select the Try It button.

    6. Sign in to Power BI, paste the Workspace ID in the groupId text box and the dataset ID into the datasetId text box, and then select Run.
    7. Under the Run button, verify that the service returns a Response Code of 200. That code indicates that the dataset and its associated usage metrics reports have been deleted successfully.

     

    And I also tested it in my environment without the problem, you can also test it on your other dataset and see if the same problem occurs.

     

    Did I answer your question? Mark my post as a solution!


    Best Regards

    Lucien

    • fr_jc's avatar
      fr_jc
      Icon for Advocate II rankAdvocate II

      Lucien, thank you !!  Nice and simple, it worked great..

  • I would suggest you don't build any business critical processes around these reports. Instead, ask you O365 teant admin for the Power BI usage audit logs.

  • lbendlin yes i agree and we have done that. Our superusers who also audit workspaces need this function. So i would really like to know if this is something that can be resolved. 

     

     

     

      • D_Lav's avatar
        D_Lav
        Icon for Helper I rankHelper I

        hard to tell over text if you mean to sound arrogant but not suitable answer from a super user in my opinion. If it cant be resolved i will take this forward to microsoft with a proper suportticket.