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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Sum or Sumx based in distinct count another column same table

Hi Expert

 

Need a dax measure to give me the distinct count based in ListID and the sum of the PlannedProcedureTime

 

see sample data

ListIDPlannedProcedureTime
7659120
7659120
764730
764730
770060
770060
770060
770060
770060
1 ACCEPTED SOLUTION

@Anonymous try this

Measure = max(Yourtable[PlannedProcedureTime])

View solution in original post

5 REPLIES 5
ddpl
Solution Sage
Solution Sage

@Anonymous Could you please share expected result in sample table

Anonymous
Not applicable

Expected Result

istIDPlannedProcedureTime
7659120
764730
770060

@Anonymous try this

 

ddpl_0-1662634987238.png

 

Anonymous
Not applicable

Hi thanks - but can we do this as a meseaure as i need to use it for other visuals and metrics. please.

@Anonymous try this

Measure = max(Yourtable[PlannedProcedureTime])

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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