flex.bi reports and dashboards can be embedded in other HTML pages as <iframe>
element.
...
When you have opened report in Analyze tab then there is the ...
button in the toolbar. Press the button to see the dropdown list of options, choose the </> Embed report
. When you are in Dashboard tab then each report has </>
icon in report header. When pressing this icon you will see similar dialog to this:
You can include generated <iframe ...></iframe>
code in another HTML page and as a result, you will see flex.bi report rendered inside this web page:
...
And now embedded flex.bi dashboard will automatically resize it's <iframe>
element to match the current dashboard height.
This text is right after <iframe>
to illustrate automatic resizing.
...
<iframe width="100%" height="482" src="https://flex.bi/accounts/1/embed/report/1?selected_pages=[Time].[1997].[Q1%201997],[Time].[1997].[Q2%201997],[Measures].[Unit%20sales]" frameborder="0"></iframe>
Adding parameters to URL
You can provide several parameters to the URL of the shared report or dashboard, in that case, use an ampersand &
to separate several parameters. To assign a value to the parameter user an equal sign =
. To provide several values for one parameter, separate those values by a comma ,
.
...