Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |