Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a column with following values;
I want to display all possible values other than A, B, C, D or Z.
I need a function that returns any value other than A, B, C, D or Z as data will continually be added and I want the function to have the opportunity to catch and grab data (0, 1, S and even blank).
What function should I use? Filter or allexcept? I'm unsure.....
Many thanks!!
Solved! Go to Solution.
Hi @Anonymous ,
Since you also want to capture blank values, I use 'others' in the results returned by the formula to differentiate the results.
Please new a column.
Column2 = IF( NOT 'Table'[Column1] IN {"A","B","C","D","Z"},'Table'[Column1],"others")
This way blank values can also be distinguished.
Attached PBIX file for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @Anonymous ,
Since you also want to capture blank values, I use 'others' in the results returned by the formula to differentiate the results.
Please new a column.
Column2 = IF( NOT 'Table'[Column1] IN {"A","B","C","D","Z"},'Table'[Column1],"others")
This way blank values can also be distinguished.
Attached PBIX file for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @Anonymous
You can create a new tabel with this code or otherwise use to filter data. Example:
Filtered Qty =
CALCULATE (
SUM ( 'Stock Item Master Table'[Qty] ),
FILTER (
'Stock Item Master Table',
NOT ( 'Stock Item Master Table'[Maintenance Contract Code]
IN { "A", "B", "C", "D", "Z" } )
)
)
try this one: FILTER ( your_table , NOT ( your_table [colomn]IN { "q", "b", "d", "s", "Z" } ) )
Hi @Anonymous
something like
FILTER ( TableName, NOT ( TableName[ColumnName] IN { "A", "B", "C", "D", "Z" } ) )
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |