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 trying to filter my incoming data (Exel file in sharepoint).
I have a table called NCTS which includes column 'DocumentID' and 'createdBY'. I want to filter the incoming data to only use certain users in the createdBY column. I.E. documents are created by John Doe, Kris and Peter. But I only want to import the rows where the createdBY column has John Doe and Kris in them.
A solution I thought of would be to filter out the names I don't need in Power Query. But the problem is that I can't select all the names from the CreatedBY column because it updates everyday, but not everyday all the names I need are in the column.
I think I need to have a filter before the data comes in that, checks the column for the names that I have predifined. and then removes all the names I don't want to use.
I hope this makes any sense because I can't seem to figure out what to do.
Thanks in advance.
Solved! Go to Solution.
Hi @Frankmeister1 ,
You need to create a secondary table with the names you need to filter, then just do a merge with the primary table.
In this case when you do the merge you need to select the option all from second matching the first
No need to expand the new column you can simply delete.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português
Have you tried @MFelix 's solution? It is simple and great to solve this problem. Don't forget to give it a try!
Best Regards,
Community Support Team _ Jing
Hi @Frankmeister1 ,
You need to create a secondary table with the names you need to filter, then just do a merge with the primary table.
In this case when you do the merge you need to select the option all from second matching the first
No need to expand the new column you can simply delete.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |