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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
K_demmons
New Member

Dynamic Security

Hey, I could use some help.

I've been trying to follow sqlbi's example on customizing default values for each user, but there is something that I'm not doing right.

I've got two tables: Task and DefaultUser. Task has two columns: Name (Employee Name) and Task #. DefaultUser has two columns: Name (Employee Name) and UserEmail (Employee Email). There is a join between the two Name columns that is One-to-Many and a single cross filter direction where DefaultUser filters Task. I also created a calculation table in TabularEditor called UserDefault. The first calculation item is called "No", and the formula looks like this so that the table I create will have no filters:

NO = SELECTEDMEASURE ()

The second calcuation item is called Yes, and the formula looks this:

K_demmons_0-1697484255002.png

Once I create the table, I use the Name and Task # columns from the Task table. I added UseDefault to a slicer and "No" and "Yes" show as my options like they are supposed to. However, when I use PowerBi's "View As" function to view the table as someone with a different email and click "yes" to activate the filter, nothing happens. What is going wrong?

1 REPLY 1
some_bih
Super User
Super User

Hi @K_demmons I am curios: first part of IF is for NOT (no) and second calculate amount?

Check part in first CALCULATE.





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

Proud to be a Super User!






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.