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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lcasey
Post Prodigy
Post Prodigy

Issue with Measure

Hello,

 

I am trying to create a measure that:  Counts the unique emails in the User Information List so I  can return the total unique records of email. 

 

I was able to get Total Patches and Total Computers.  Now I want to create a measure that has Total Users

 

I dont know how to do this as there is no Direct relationship. 

 

I want too count all the unique email addresses in the User Information list and it should return only the total records as filtered.

 

01.png

1 ACCEPTED SOLUTION

I resolved it by creating two measures:  Theres probably a way to make it just 1 measure but I fought with it for about 45 Minutes. Then decided to create 2 measures.

 

Email Address = RELATED('User Information List'[EMail])

 

Total Users = DISTINCTCOUNT(Patches[Email Address])

 

 

View solution in original post

4 REPLIES 4
lcasey
Post Prodigy
Post Prodigy

I am using this formula but it returns every single user email and ignores the filter:

 

Total Users = DISTINCTCOUNT('User Information List'[EMail])

What kind of filter do you set?

I resolved it by creating two measures:  Theres probably a way to make it just 1 measure but I fought with it for about 45 Minutes. Then decided to create 2 measures.

 

Email Address = RELATED('User Information List'[EMail])

 

Total Users = DISTINCTCOUNT(Patches[Email Address])

 

 

Hi @lcasey,

Glad to hear that the issue is resloved. You can accept your reply as solution, that way, other community members will easily find the solution when they get same issues.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.