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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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