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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.