Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Re direct or automatic sign in using UPN for personalized dashboard to extract data from outlook.

Im creating a dashboard for detailed insights in meeting analytics using Outlook calender. As of now I have done dashboard which asks user to put email id as input parameter but instead of this I would like PowerBI to select/detect/capture email id automatically from UPN. So once user open power bi template, he/she should be able to see insights directly without even putting email ID.

4 REPLIES 4
parry2k
Super User
Super User

@Anonymous there is dax function called userprinciaplname, may be that can help



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hi Parry2k,

Thanks for replying. I want user principal name as a source in querry. I created parameter which asks for a input to user,so user email id becomes source in querry.

- So I want userprincipal name as source. 

-This is for the purpose of getting meeting insights only for people who are working in our company. 

- I short, I dont want user to put his email id as a data source, instead I want power bi to detect userprincipalname and extract data accordingly.

@Anonymous the way i see it working is that you pull all the data with email in it and then you add a column in you model something like this

 

Current User = 
Table[Email] = USERPRINCIPALNAME()

and now you put a report level filter with "current user = true"

 

And other solution could be Dynamic RLS.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k It seems it creates table out of the power querry but instead I want to do it in the power querry.

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.