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
adityavighne
Continued Contributor
Continued Contributor

How to create except row value column

How to create except row value column?

 

I have a column with values 

Channel
A
B
C
D
E
F
G
H
I
J
K
L

 

want to create a new column where I don't want(except) A, C, D, G, H

 

I need output like - 

Channel
B
E
F
I
J
K
L
3 REPLIES 3
AlB
Super User
Super User

Hi @adityavighne 

 

If you want it in another table, you can create a new calculated table:

 

 

NewTable = FILTER(Table1, NOT Table1[Channel] IN { "A", "C", "D", "G", "H"})

or alternatively:

 

NewTable2 = EXCEPT(ALL(Table1[Channel]),{ "A", "C", "D", "G", "H"})

 

If you want it in a table visual you can ust use the visual level filters and deselect the letters you don't want shown.  

adityavighne
Continued Contributor
Continued Contributor

I don't want to create a new table. this is not working.

@adityavighne In that case, just filter the column in "Query Editor"

 

image.pngimage.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




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.