Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
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 |
|---|---|
| 31 | |
| 30 | |
| 21 | |
| 16 | |
| 16 |