Forum Discussion
Issue with Slicer while combining two columns
Hi Anonymous
Don't know if you need the word "Dev", but anyway, what you have to do is to use Power Query here.
This is your original table. So I'm going to split both column by delimiter. First I select Primary author and use "-" as delimiter.
I have selected the most left one, but because you only have one. If you have several "-" choose each time of appearance. (I will assume you need Dev, if not, filter later on)
Do the same step for Secondary Author but choose "," as delimiter.
You will get something like this.
And finally, unpivot columns (you select the columns with names of authors and go to Transform-> Unpivot:
And here it is:
If you don't need Dev you can filter at this point:
And now, you only need to put a slicer
- Anonymous3 years agoNot applicable
Many Thanks for your guidance!!
I am facing an issue with the last step. When I try to select the columns and unpivot selected columns, it's creating two columns namely "Attribute" and "Values" and "Error" is filled in all the rows..
I tried to unpivot by selecting a)only the primary and secondary authors columns b) selecting title and authors columns. both are not working.could you please shed some light on what am I missing?
- mlsx43 years ago
Memorable Member
Ok Anonymous . I got "Attribute" column too but I removed it (I forgot to mention this last step, sorry about that)
Have you checked that all the values are text? To unpivot just select option a), never the title
I assume you have reached this point without error, isn't it?- Anonymous3 years agoNot applicable
No luck!! 😞 Will it not work if there are rows with "null" values??
I am able to split the columns based on delimiter but unable to unpivot and get the desired output...