How to filter pivot excel with a sql query?

Occasional Visitor
Actually I want to filter the one column based on the role of admin for e.g, all projects should be visible if user has admin role or otherwise only some projects should visible. I can write it as query but how it can implemented in pivot excel Is no idea.. Can anyone help with this. Please
Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
205 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies