Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need help finding if a value appears at least once in a column filtered by another column.
Following the simplified Table, I need to check if the ID has been registered at least once for the class.
ID | Class | Registered to Class 1111? |
AAAA | 1111 | Yes |
BBBB | 2222 | No |
BBBB | 3333 | No |
BBBB | 4444 | No |
CCCC | 1111 | Yes |
CCCC | 4444 | Yes |
DDDD | 3333 | No |
EEEE | 1111 | Yes |
EEEE | 2222 | Yes |
My school of thought was to filter each ID and check wheter or not one of the class where the specified class, a but ended up getting nowhere. I can do it if I create a new table, but I need it to bein a column of the same table.
Solved! Go to Solution.
Hi, @Anonymous
Please check the below for creating a new column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
How's this custom column?
VAR an Array of 'Good' IDs where Class = 1111 (Or whatever you are seraching for...)
Then if current row's ID is 'Contained' in the Array, YES, else NO
Proud to give back to the community!
Thank You!
Hi, @Anonymous
Please check the below for creating a new column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
78 | |
75 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |