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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Vishruti
Regular Visitor

Filtering Column in Paginated Report based on a Word

I want to apply a filter on a column in Power BI Paginated report based on a word. 

E.g. I have following data for the column - Project Names.

IMG_0452.jpeg

If the text in this column contains the word 'Demo' then I want to remove those rows. 

In the above example, I want to filter out the blue rows.

 

How can I achieve this in the Filter section of Tablix Properties (as shown below)?

IMG_0453.jpeg

 

2 ACCEPTED SOLUTIONS
SamInogic
Super User
Super User

Hi @Vishruti 
 
For the SSRS report, you can add Expression as InStr(Fields!ProjectNames.Value, "Demo") and operator as greater than ">" and add Value as 0.

Thanks!

Inogic Professional Service Division

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/ 

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Drop an email at crm@inogic.com
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

View solution in original post

sri_krishna_k
Regular Visitor

Hello Vishruti,

Instead of specifying a filter condition, you can use the visibility functionality.
1. Right click on the box below the column as shown in the below snapshot and go into textbox properties.

sri_krishna_k_0-1711609364017.png

2. Go into the Visibility tab and select the options as shown in the screenshot.

sri_krishna_k_1-1711609585399.png

3. Write the expression as shown below(Replace the field names with the fields present in your dataset)

sri_krishna_k_2-1711609767500.png

Expression:

=IIf(InStr(Fields!Project_Name.Value, "Demo")>0, True, False)

Hit Ok and run the report, it should work.

Regards,

Sri.

View solution in original post

2 REPLIES 2
sri_krishna_k
Regular Visitor

Hello Vishruti,

Instead of specifying a filter condition, you can use the visibility functionality.
1. Right click on the box below the column as shown in the below snapshot and go into textbox properties.

sri_krishna_k_0-1711609364017.png

2. Go into the Visibility tab and select the options as shown in the screenshot.

sri_krishna_k_1-1711609585399.png

3. Write the expression as shown below(Replace the field names with the fields present in your dataset)

sri_krishna_k_2-1711609767500.png

Expression:

=IIf(InStr(Fields!Project_Name.Value, "Demo")>0, True, False)

Hit Ok and run the report, it should work.

Regards,

Sri.

SamInogic
Super User
Super User

Hi @Vishruti 
 
For the SSRS report, you can add Expression as InStr(Fields!ProjectNames.Value, "Demo") and operator as greater than ">" and add Value as 0.

Thanks!

Inogic Professional Service Division

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/ 

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Drop an email at crm@inogic.com
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.