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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
vsslasd1
Helper III
Helper III

Display Filtered Criteria in One Single HTML Box Banner at the Top of PowerBI report

Hello, 
I would like to display the filtered criteria in an HTML Text Box at the top of my report so we can see the specific data that it is filtered to. This would be a short version of what I would like to display. Altogether, there are about 10 fields that I want to display. 
What is the best method to do this ? 

ReptFilterCriteria = "Contract: <p><b><font color=blue>"&"445" & "</b></font><p>Customer and Location: <p> Start Date: Expiration Date: <p><b><font color=blue>"
 
Thank you!
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vsslasd1 ,

 

According to my understanding, you want to display all selected/filtered value,right?

 

Method1:

You could create a text box and use Q&A to display simply:
1.9.1.2.gif

 

Method2:

Use CONCATENATEX() function together with ISFILTERED() to create measureslike this:

 

filter country =
"Country: "
    & IF (
        ISFILTERED ( 'Table'[Country] ),
        CONCATENATEX ( ALLSELECTED ( 'Table'[Country] ), 'Table'[Country], "," ),
        "All"
    )
filter city =
"City: "
    & IF (
        ISFILTERED ( 'Table'[City] ),
        CONCATENATEX ( ALLSELECTED ( 'Table'[City] ), 'Table'[City], "," ),
        "All"
    )

 

Then use Multi-row Card visual ,the final output is shown below:

1.9.1.1.gif

 

Please take a look at the pbix file here.


Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @vsslasd1 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.😀

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @vsslasd1 ,

 

According to my understanding, you want to display all selected/filtered value,right?

 

Method1:

You could create a text box and use Q&A to display simply:
1.9.1.2.gif

 

Method2:

Use CONCATENATEX() function together with ISFILTERED() to create measureslike this:

 

filter country =
"Country: "
    & IF (
        ISFILTERED ( 'Table'[Country] ),
        CONCATENATEX ( ALLSELECTED ( 'Table'[Country] ), 'Table'[Country], "," ),
        "All"
    )
filter city =
"City: "
    & IF (
        ISFILTERED ( 'Table'[City] ),
        CONCATENATEX ( ALLSELECTED ( 'Table'[City] ), 'Table'[City], "," ),
        "All"
    )

 

Then use Multi-row Card visual ,the final output is shown below:

1.9.1.1.gif

 

Please take a look at the pbix file here.


Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@vsslasd1 , Not very clear. If it is a measure

 

ReptFilterCriteria = "Contract: <p><b><font color=blue>"&"445" & "</b></font><p>Customer and Location: <p> Start Date: Expiration Date: <p>" & selectedvalue(Date[Date])&"<b><font color=blue>"

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors