Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vanessa
Post Patron
Post Patron

Is there a DAX function that will return the name or ID of a Power BI app

Hi,

 

Is there a DAX function that will return the name or ID of a Power BI app ?

 

I am basically duplicating an app for 2 different sets of users.  In one version of the app I want to implement some conditional formatting, whereas there is no conditional formatting in the 2nd app. 

Is there a way to achieve this?

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @vanessa 


Currently I do not know of anyway.


What I would do is to have 2 PBIX files and one would have the conditional formatting and the other PBIX would not

 

I know this means 2 PBIX files but when using Tabular Editor it makes it easy to copy and paste measures etc.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @vanessa ,

 

As far as I know there's no such DAX function.

However you may use REST API to get the APP name and id.

Please check the following documents.

https://docs.microsoft.com/en-us/rest/api/power-bi/apps/getapp 

https://docs.microsoft.com/en-us/rest/api/power-bi/apps/getapps 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
GilbertQ
Super User
Super User

Hi @vanessa 


Currently I do not know of anyway.


What I would do is to have 2 PBIX files and one would have the conditional formatting and the other PBIX would not

 

I know this means 2 PBIX files but when using Tabular Editor it makes it easy to copy and paste measures etc.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

vanessa
Post Patron
Post Patron

Hi,

 

Is there a DAX function that will return the name or ID of a Power BI app ?

 

I am basically duplicating an app for 2 different sets of users.  In one version of the app I want to implement some conditional formatting, whereas there is no conditional formatting in the 2nd app. 

Is there a way to achieve this?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors