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:
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
Solved! Go to Solution.
I found the solution myself.