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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.