cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Power Apps and Power BI Integration and delegate Power BI filters to Power Apps parameter

Hi Community,

 

I have a question/issue regarding embedding a Power App inside a Power BI report, and hopefully someone can help me out. 

 

Introduction:

  • The issue concerns Power BI and Power Apps integration.
  • The task that I'm trying to accomplish is to delegate a Power BI filter as a parameter to the Power App.

 

Demonstration:

Here you see an overview of the dashboard that I'm talking about.

Figure 1: Power BI dashbord with Power App embedded

 

I got it to work like this by setting the 'Text' property of these controls in Power Apps to:

Figure 2: Text Property in Power App

 

Now, if you look in Firgure 1, you see that I have not selected a filter for Type Abonnement, and "AFL" is propagated to the Power App. Makes sense, right, because I set the 'Text' property to `Text(First([@PowerBIIntegration].Data).abo_type)`.

 

What I need to accomplish however is, when no filter is selected, no value is propagated to the Power App as a parameter. So considering Figure 1, I would expect that the Type Abonnement parameter in the Power App is empty.

 

I've tried to accomplish this with some logic as:

IF(

COUNT(

DISTINCT(

Text(PowerBIIntregation.Data).abo_type,

abo_type

) > 0,

BLANK(),

Text(First(PowerBIIntegration.Data).abo_type)

)

)

 

But I can't seem to get it to work properly. 

 

Can someone help me out? Or, at least, point me in the right direction for a solution?

 

Looking forward hearing from you!

 

Regards,

 

Marko

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found the solution myself. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I found the solution myself. 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Kudoed Authors