cancel
Showing results for 
Search instead for 
Did you mean: 
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
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.