Forum Discussion
Help with Filtering & Slicer
Hi Greg_Deckler Anonymous & mussaenda
thanks for the replies.
Thanks for the help, that's what I'm looking for. But the real dataset contains more than 200 rows. I could do it like that, but the problem is that there is new data coming in continuously with different numbers and "Level IDs", so each time it happens, I should manually make adjustments to the column code. Is there any other/easier way to do it, so that I wouldn't have to make adjust afterwards?
Hi jereaallikko,
if that's the case,
you can use Text.Contains in power query.
Like:
if Text.Contains(Text.Upper([Level ID]), "BM")
then "BASEMENT"
else
(your next condition)
So everytime you will have new data to come and it detects that there is BM on your Level ID,
it will directly call it as basement. You can also add AND on your condition to get what you rreally wanted.
You need to identify their common denominator then you are good to go. insted of using the exact Level ID.
Hope this helps!
by the way, I used Power Query here.