Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
i want to display OS user name like Auth\MyNTname
it should be dynamic. who ever open dashboard their NT name should disply. is there any function ?
in QLikview i use =OSUser() to display this. in PBI?
Solved! Go to Solution.
HI @Anonymous ,
Try using USERNAME dax function in Power BI.
you can refer following link for details:
https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
@Anonymous
CONCATENATE only works for 2 objects. You need multiple CONCATENATE and Format().
Access = CONCATENATE("Confidential: Data accessed ",
CONCATENATE(USERNAME(),
CONCATENATE(FORMAT(NOW(),"YYYY/MM/DD HH:MM:SS"),"is responsible for keeping this data secure.")
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Create this measure:
Measure = CONCATENATE(USERNAME(),NOW())
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi im getting error while using this. could you please help how to avoid this?
whats wrong in this measure
Access= CONCATENATE(" Confidential: Data accessed",USERNAME(),NOW(),"is responsible for keeping this data secure.")
i want to show this date foramt Date(Now(),'YYYY-MM-DD HH:MM:SS'
@Anonymous
CONCATENATE only works for 2 objects. You need multiple CONCATENATE and Format().
Access = CONCATENATE("Confidential: Data accessed ",
CONCATENATE(USERNAME(),
CONCATENATE(FORMAT(NOW(),"YYYY/MM/DD HH:MM:SS"),"is responsible for keeping this data secure.")
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI @Anonymous ,
Try using USERNAME dax function in Power BI.
you can refer following link for details:
https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security/
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Yeah its working fine but. i want to show current time running in the dashboard along with Nt name, like below.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |