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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.