Forum Discussion
Anonymous
3 years agoNot applicable
Create a button that is only visible on Desktop
Is it feasible to create a button on PowerBI desktop which is not visible when the report is published on service? The same button should be visible when the user downloads the report from Service.
- 3 years ago
Hi,
I do as below :
create the measure and check if the user and userprincipalname are equal :
UsrVisable/Enable = if (USERNAME() <> USERPRINCIPALNAME(), 1, 0)Then for the particular Button, I changed the Text and Icon color based on the formula(in Style property) and put that as a page color for disabled the button :when you publish it in the server the button should disappeared (not shown)
Thanks for your kudos and please mark it as a solution if it helps you
MahyarTF
Memorable Member
3 years agoHi,
I do as below :
create the measure and check if the user and userprincipalname are equal :
UsrVisable/Enable = if (USERNAME() <> USERPRINCIPALNAME(), 1, 0)
Then for the particular Button, I changed the Text and Icon color based on the formula(in Style property) and put that as a page color for disabled the button :
when you publish it in the server the button should disappeared (not shown)
Thanks for your kudos and please mark it as a solution if it helps you