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.
Hi all,
I'm facing a problem with comparing to columns.
so what basically happens when I create a conditional column is that it compares a row with it corresponding row in the other column.
however, I need to compare a single values from the first column with all values fro the second column until it finds a match, else "New"
I will add an example just to clarify it more.
if "web Developer" ( in 'Actual Jobs') = 'Career Path Jobs'
then 'Career Path Jobs'
Other "New"
But as I said, it only compares a singles row while I want it to iterate on all 'Career Path' Column until it finds a match.
Solved! Go to Solution.
@Anonymous
Create the following column:
@Anonymous
Create the following column:
@Anonymous , Try a new column like
if(not(isblank(LOOKUPVALUE([Actual Jobs], [Career Path Jobs],[Actual Jobs]))),"New" ."Career Path Jobs")
or
new column =
var _1 =[Actual Jobs]
return
if( countx(filter(search(_1,[Career Path Jobs],,0)>0),[Career Path Jobs])+0=0,"New" ."Career Path Jobs")
I tried applying those two solutions but they are comparing Career Pth jobs colomns with itself.
@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Yes, sure!
https://drive.google.com/file/d/1wUp8rbTvrO1qLaVb0BE-bZhRyIC7sq5f/view?usp=sharing
here is a link to the excel sheet
mainly the concept is when there is a match between the first and the second coloumn then write the 'Career path job'
else write "New"
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 |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |