Forum Discussion

joe_botelho's avatar
joe_botelho
New Member
1 year ago
Solved

Is it possible to render report conditionally input that a return output from a JSON Web Rest query

Is it possible to render report conditionally input that a return output from a JSON Web Rest query

  • joe_botelho 

    Yes, it is possible to render a report conditionally based on the output from a JSON Web REST query in Power BI. You can achieve this by following these steps:

    Connect to the JSON Web REST API: Use Power BI's "Get Data" feature to connect to the JSON Web REST API and import the data. You can use the Web connector to fetch data from the API.

    Transform and Parse JSON Data: Use Power Query Editor to transform and parse the JSON data into a tabular format that Power BI can work with.

    Create Conditional Logic: Use DAX (Data Analysis Expressions) to create calculated columns or measures that implement the conditional logic based on the data retrieved from the JSON API.

    Conditional Formatting and Visuals: Apply conditional formatting to your visuals based on the calculated columns or measures. You can also use slicers or other interactive elements to conditionally display different parts of the report.

     

5 Replies

  • joe_botelho 

    Yes, it is possible to render a report conditionally based on the output from a JSON Web REST query in Power BI. You can achieve this by following these steps:

    Connect to the JSON Web REST API: Use Power BI's "Get Data" feature to connect to the JSON Web REST API and import the data. You can use the Web connector to fetch data from the API.

    Transform and Parse JSON Data: Use Power Query Editor to transform and parse the JSON data into a tabular format that Power BI can work with.

    Create Conditional Logic: Use DAX (Data Analysis Expressions) to create calculated columns or measures that implement the conditional logic based on the data retrieved from the JSON API.

    Conditional Formatting and Visuals: Apply conditional formatting to your visuals based on the calculated columns or measures. You can also use slicers or other interactive elements to conditionally display different parts of the report.

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi joe_botelho,

    Thanks for reaching out to the Microsoft fabric community forum.

    It looks like you are looking for a way to render reports conditionally based on the output from a JSON Web REST query in PowerBi. As bhanu_gautam already responded to your query, please go through his response and check if it answers your query. If yes, then please mark the helpful reply as solution.

     

    I would also take a moment to thank bhanu_gautam, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

     

    If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

    Best Regards,
    Hammad.
    Community Support Team

     

    If this post helps then please mark it as a solution, so that other members find it more quickly.

    Thank you.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi joe_botelho,

      As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

      If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


      If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
      Thank you for your patience and look forward to hearing from you.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi joe_botelho,

        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 so that other community members can find it easily.


        Thank you.