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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors