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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to filter all rows of column except one row/one name?

I want to filter a field(WorkerName) of Worker table but exclude only one name "Once Off".

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous ,

 

You can filter in desktop or power query editor.

 

In the power bi desktop, you can add a visualization filter, page filter, or report filter to a report in Power BI.

4.png

5.png

 

In the power query editor, you can do the following. Click the triangle button next to the field name, and then filter.

6.png 

 

 

Reference: https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-add-filter

                  https://www.iscorp.biz/power-bi-filtering-your-data/

 

 

Best Regards,

Stephen Tao

 

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

Anonymous
Not applicable

CALCULATE(
SUM(InvoiceLines[Tons]),
FILTER(InvoiceLines, InvoiceLines[ITEMID] = InventoryStock[ITEMID]),
Filter(Worker, Worker[WORKERNAME] <> "Once Off")
)

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi @Anonymous ,

 

You can filter in desktop or power query editor.

 

In the power bi desktop, you can add a visualization filter, page filter, or report filter to a report in Power BI.

4.png

5.png

 

In the power query editor, you can do the following. Click the triangle button next to the field name, and then filter.

6.png 

 

 

Reference: https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-add-filter

                  https://www.iscorp.biz/power-bi-filtering-your-data/

 

 

Best Regards,

Stephen Tao

 

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

 

 

amitchandak
Super User
Super User

@Anonymous , You can create a measure

 

countrows(Filter(Table, Table[WorkerName] <> "Once Off"))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for quick reply but I don't want count but all names

@Anonymous , Plot the name with the measure in a table visual you will get those

 

Or plot name in visual and use visual level filter for measure is not blank

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

 

Ashraf_HK_0-1634123409881.png

 

Anonymous
Not applicable

WorkerName = FILTER ( VALUES ( Worker[WorkerName] ), Worker[WorkerName] = "Once Off" )
 

Ashraf_HK_0-1634118268367.png

Now I want all names except Once Off

Anonymous
Not applicable

CALCULATE(
SUM(InvoiceLines[Tons]),
FILTER(InvoiceLines, InvoiceLines[ITEMID] = InventoryStock[ITEMID]),
Filter(Worker, Worker[WORKERNAME] <> "Once Off")
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.