Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a filter and want to display count of rows returned after search. but im not able to figure out how to write condition if blank is returned from count rows
Total Rows = IF(ISFILTERED ('table'[Search]),COUNTROWS('table') & " customer match(es) found.", "No customer match(es) found.")
before any search is performed im displaying below
Solved! Go to Solution.
@sanjanarama , If you trying this for the search of a standard slicer, I doubt that. This can work with text search
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381309?src=office&tab=Overview
@amitchandak
I'm using same slicer, the measure which is posted im displaying it if my table returns a result after search from slicer
@sanjanarama , using text filter I tried this and it worked. On my data
Measure = if(ISFILTERED('Item'[Brand]), "Selected in " & Distinctcount('Item'[Brand]) , "Not selected")
or
Measure = if(ISFILTERED('Item'[Brand]), "Selected in " & CONCATENATEX(distinct('Item'[Brand]),[Brand]," ,") , "Not selected")
but if a text is searched which is not in dataset it returns as below, it should display "0 customer match(es) found", how do we achive that
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.