Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Everybody,
I have recently opened this thread in order to find whether there is the possibility to select every rows of a column, according to multiple conditions.
I'll explain here.
Suppose we have this conditions applied:
let
Origine = Odbc.DataSource("dsn=BBB", [HierarchicalNavigation=true]),
admin_Database = Origine{[Name="AAA",Kind="Database"]}[Data],
admin_Schema = admin_Database{[Name="AAA",Kind="Schema"]}[Data],
View= admin_Schema{[Name="bs_cono_abi",Kind="Table"]}[Data],
FilteredTable = Table.SelectRows(View, each ([A] = ABI_ALIAS) and ([B] = "someuser") and ([C] = ENV_ABI))
in
FilteredTable
Columns A and C are filtered through parameters (and they will be constant over time) ABI_ALIAS and ENV_ABI, and those are ok, while column B should be filtered accepting all the rows contained in it; you could point out the fact that I could easily reach my objective avoiding that column to be inserted in the script, but i am forced to pass all columns, A, B, and C, in order to allow table to be correctly evaluated from PowerBI.
So, I would like to know whether there's a proper way to reach this particular target.
Thanks in advance,
Damiano
@Anonymous , Based on what I got
. You can use the Table.AddColumn function to create a new column that duplicates the values from column B and then filter it based on your conditions.
Power BI- Power Query Table.AddColumn- https://youtu.be/dEDK4wktAME
Hi @amitchandak, that's not the solution, I need to filter that column, so I need a condition that specify "Filter column B taking everything in it", a sort of Select All.
Is there any script?
D
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |