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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.