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
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

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
v-xiandat-msft
Community Support
Community Support

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.

@v-xiandat-msft 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?

 

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.