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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Vamshi2020
Helper II
Helper II

Sum of Value by Distinct Member Id

Hi All,

 

I have a Table with few columns such as member id, start date, end date , provider name etc, value etc...my value column is a calculated column with value=1 formula. so this column contains 1 for all rows. 

 

Requirement is to calculate "sum of value for distinct member id ". Please help me to achieve this .

 

TIA

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Vamshi2020 , Try a measure like

 

sumx(values(Table[member id]), calculate(max(Table[Value])))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Vamshi2020 , Try a measure like

 

sumx(values(Table[member id]), calculate(max(Table[Value])))

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors