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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dogburalHK82
Helper III
Helper III

Filter tables in report builder

Hi, 

 

I have a table listing a few columns. 

If I want to list only PO numbers with condition of "Late" and "Early", what express I need to use?

 

 

PO NumberDelivery dateCondition
PO11112/01/2024Late
PO22212/01/2024Early
PO33312/01/2024On Time
PO44412/01/2024Late

 

Each column expression as below

 

PO Number : =Fields!Purchase_Order.Value

Delivery Date : =Fields!Delivery_Date.Value

Condition : = =Fields!Condition_switch.Value

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dogburalHK82 ,

You can convert it in expression:

vxiandatmsft_0-1710741536924.png

expression = format(Fields!Condition_switch.Value , "string")

Best Regards,

Xianda Tang

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 @dogburalHK82 ,

First, you can right-click on the dataset to open it and find filter and enter the form in the following image

vxiandatmsft_0-1710726828268.png

The final output is shown in the following figure:

vxiandatmsft_2-1710726949485.png

Best Regards,

Xianda Tang

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

@Anonymous thank you for the help. 

 

However, for some reason my data is recognized as Integer, not String. 

Below is the real data. 

 

dogburalHK82_0-1710740950618.png

 

In Power BI, the data is derived from below 

 

dogburalHK82_1-1710741022111.png

 

How can i convert it?

 

Anonymous
Not applicable

Hi @dogburalHK82 ,

You can convert it in expression:

vxiandatmsft_0-1710741536924.png

expression = format(Fields!Condition_switch.Value , "string")

Best Regards,

Xianda Tang

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

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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