March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |