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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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