Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need to creat a sub set table with all the columns in the main table but filtered with value "A" in the Code column. I need all related rows in the coulmns to be able to add additional calculated columns in the filtered sub set table. I appreciate your help.
| Date | Code | Ind | Val |
| 1/1/2020 | A | NM | 20 |
| 1/6/2020 | B | BL | 40 |
| 1/20/2020 | A | NM | 60 |
| 2/15/2020 | A | CX | 80 |
| 1/5/2020 | C | DG | 30 |
New table:
| Date | Code | Ind | Val |
| 1/1/2020 | A | NM | 20 |
| 1/20/2020 | A | NM | 60 |
| 2/15/2020 | A | CX | 80 |
Solved! Go to Solution.
Can you an example of it ?
Maybe your column needs to be cleaned. Have you tried TRIM/CLEAN it on Query Editor ?
TABLE = FILTER(TABLE, TABLE[CODE] = "A")
Hi Recardo,
I have tried that befroe but I get empty columns.
Can you an example of it ?
Maybe your column needs to be cleaned. Have you tried TRIM/CLEAN it on Query Editor ?
Worked after Trim/Clean. Thank you.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 11 |