Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

power Bi copilot narrative visual

Will the narrative engine work with the existing query that was already saved as part of the report? I’m not trying to modify the question that was provided to the narrative engine; I just want to retrieve the answer using the REST API. Can this be done?

  • Hello Anonymous ,

    Thank you for reaching out to us on the Microsoft Fabric Community Forum.

    Currently, the Power BI REST API does not offer a direct method to retrieve Smart Narrative insights or AI-generated text from reports. The narrative engine for Smart Narratives functions dynamically within the report but does not expose its output through an API.

    Note: I mentioned Smart Narrative insights because, currently, Microsoft does not officially document a feature called "Narrative Engine" in Power BI.

    However, there are alternative methods to programmatically obtain similar insights.

    If your Smart Narrative insights are derived from DAX measures or calculated fields, you can use the DAX REST API. This allows you to execute queries on datasets and extract calculated values.

    Reference: Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    FYI:

     

     

    If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

     

     

4 Replies

  • V-yubandi-msft's avatar
    V-yubandi-msft
    Community Support

    Hello Anonymous ,

    Thank you for reaching out to us on the Microsoft Fabric Community Forum.

    Currently, the Power BI REST API does not offer a direct method to retrieve Smart Narrative insights or AI-generated text from reports. The narrative engine for Smart Narratives functions dynamically within the report but does not expose its output through an API.

    Note: I mentioned Smart Narrative insights because, currently, Microsoft does not officially document a feature called "Narrative Engine" in Power BI.

    However, there are alternative methods to programmatically obtain similar insights.

    If your Smart Narrative insights are derived from DAX measures or calculated fields, you can use the DAX REST API. This allows you to execute queries on datasets and extract calculated values.

    Reference: Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    FYI:

     

     

    If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

     

     

  • V-yubandi-msft's avatar
    V-yubandi-msft
    Community Support

    Hello Anonymous ,

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • V-yubandi-msft's avatar
    V-yubandi-msft
    Community Support

    Hello Anonymous ,

    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

    Thank You.

  • V-yubandi-msft's avatar
    V-yubandi-msft
    Community Support

    Hi Anonymous ,

    Has your issue been resolved, or do you require any further information? Your feedback is valuable to us. If the solution was effective, please mark it as 'Accepted Solution' to assist other community members experiencing the same issue.