Forum Discussion
FerYelAco93
5 years agoFrequent Visitor
How i use powerbi-router in reactjs
Hello, I need help with the powerbi-router component installed with npm in my Reactjs project. How i use, if i want a dynamic menu in my app that connect to my power BI embeded report, used the pow...
FerYelAco93
5 years agoFrequent Visitor
Thank you v-lionel-msft,
I saw this documentation, but do not offer me the enough to start the link of my menu app to the powerbi report embeded in my reactjs project.
I need a solution likes this:
<span>
{this.state.menuP.map(function (di, key) {
return <SidebarLink
title={di.display_name}
icon={di.icon}
route={"/report/pages/"}
key={key} >
</SidebarLink>
})
}
</span>
Where route={} might be the link to my report, like /report/pages/...etc.
Please, and thank you again