Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Folks,
Need help on DAX. I have a requirement where I have to apply below condition on a table.
[Level 1] = userprincipalname()
Data:
| Level 1 | Level 2 | Amount |
| ABC | 123 | 100 |
| DEF | 456 | 200 |
| GHI | 789 | 300 |
| JKL | 258 | 400 |
And need to ignore the above-mentioned condition when Level 2 user is logged in.
Example : If a user from Level 1 logs in then need to show the amount for that user only. If a user from Level 2 logs in then need to show all the Amount with level 2 info - without any filter.
Thanks in advance!
Solved! Go to Solution.
Hi @Yogisha
Assume you have table
Then view as "a@microsoft.com"
Then view as "b@microsoft.com"
Hi @Yogisha
Assume you have table
Then view as "a@microsoft.com"
Then view as "b@microsoft.com"
Can same user exist in both Level 1 and Level 2?
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |