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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
thomas_coltrain
Frequent Visitor

Help filtering data out of a table field

Hey,

I am having issues getting the correct filter command right..Here is what I am trying to do

 

Say we have the Table "Orders" and in that table is a SubStatus Field that has 5 values

So it would be 'Orders'[SubStatus]

The SubStatus values are

1

2

3

4

5

 

So I need a new column for Orders pulling from SubStatus that only shows the SubStatus 1,2,3 in that column

 

So in table form here is how it would look

     

 

                Filter SubStatus Column

Orders            1

                       3

                       2

                       1 etc. (only filtering out 1 , 2 , 3 and leaving out the 4, 5)

 

Let me know if any more information is needed

Thanks,

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @thomas_coltrain,

You can set a filter on the visual subcolumn fields to exclude the value that is larger than 4.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @thomas_coltrain,

You can set a filter on the visual subcolumn fields to exclude the value that is larger than 4.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lukiz84
Memorable Member
Memorable Member

Do you want to use the filtered data in a measure? Because you talk of column, I don't really get it.

 

Anyway, in a measure the filter would be

 

YourMeasure =
CALCULATE(yourLogic, FILTER(Orders, Orders[SubStatus] < 4))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors