This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
What I wish to do is display a text visual informing the user why it's not seeing data, and how it can be fixed. I only want to display this visual when the user is not part of a RLS role.
Is there any way I could perform some logic for checking if the current user viewing the report in the service, is part of any of my defined roles? I imagine that if it's possible It'd be possible with some DAX logic I'm not currently aware of.
In advance, thanks!
Solved! Go to Solution.
Hi @Anonymous ,
I'd like to suggest you write a measure to check table rows and return specific notice text when it has no records and create a card visual with this measure.
Measure =
IF (
COUNTROWS ( ALLSELECTED ( Table ) ) = 0,
"Tabel records has been filtered",
"login: " & USERNAME ()
)
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
I'd like to suggest you write a measure to check table rows and return specific notice text when it has no records and create a card visual with this measure.
Measure =
IF (
COUNTROWS ( ALLSELECTED ( Table ) ) = 0,
"Tabel records has been filtered",
"login: " & USERNAME ()
)
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 8 | |
| 8 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 50 | |
| 27 | |
| 24 | |
| 24 | |
| 22 |