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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Need some help

andrei_cocosatu_0-1644836897878.png

Hello everyone , so i have this PowerBI ( sorry for showing you the excel) and i want to do a distinct SUM but the thing is that for the 4th and 5th is showing the same value and when i do the sumx and Disting function it`s showing me just one value for both of them and i want a value for each day even if they are the same. Can u help me please doing this somehow ?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , If [% of new for] is a column

 

then new measure

Sumx(summarize(Table, Table[Date], Table[% of new for]) ,[% of new for])

 

or


Sumx(summarize(Table, Table[Date],"_1", max(Table[% of new for])) ,[% of new for])

if this is a measure

Sumx(summarize(Table, Table[Date],"_1", maxX(Table, Table[% of new for])) ,[% of new for])

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , If [% of new for] is a column

 

then new measure

Sumx(summarize(Table, Table[Date], Table[% of new for]) ,[% of new for])

 

or


Sumx(summarize(Table, Table[Date],"_1", max(Table[% of new for])) ,[% of new for])

if this is a measure

Sumx(summarize(Table, Table[Date],"_1", maxX(Table, Table[% of new for])) ,[% of new for])

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

First one seems to work perfectly for me , i gladly thank you because i was searching for this kind of response for a long time . Have a good day and thank you one more time.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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