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
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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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