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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
saivina2920
Post Prodigy
Post Prodigy

How to get windows user id in to power bi text box or label

I want to get windows id (Who is logging in to the system) and display in power bi text box or label..

 

What will be the easy method to show the above...?

5 REPLIES 5
MFelix
Super User
Super User

HI @saivina2920 ,

 

Yes when you access AD you can get all the details that are associated.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi @saivina2920 ,

 

the best possibility is to create a measure _USN = USERNAME() and add as value into card visual

Thanks for your help..

Is it possible to get all the users from the AD of organization domain.

 

I need username, empid, mail,etc., This is helpful if i get all the details from power bi. 

Anonymous
Not applicable

Hi @saivina2920 ,

 

In this case I would recommend you to add data table to your model. So you can ask IT dept if they can send you this info

MFelix
Super User
Super User

Hi @saivina2920 ,

 

Check if this solves your issue.

 

https://community.powerbi.com/t5/Desktop/Get-Windows-Login-Name-from-Active-Directory-as-a-data-sour...


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors