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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Ignore same values from different dates

Hi!
I need to calculate the total Volume, ignoring repeated Volume values in the same Id.
Maybe something like create a conditional, where if the Volume in that row is equal to the Volume in the previous Rank_update, it's equals 0, and if it's differente, show the value.

 

Any help will be highly appreciated!

 

idlast_updaterank_updatevolume

101

26/05/2021 13:51:2546700
10121/05/2021 17:30:2936700
10120/05/2021 21:31:2826700
10103/09/2020 17:15:3918630
1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

I did a test and tried the following measure:

Measure 2 = 
var _table=SUMMARIZE(ALL('Table'),[id],[volume])
return
SUMX(_table,[volume])

v-henryk-mstf_0-1623725377763.png


Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

I did a test and tried the following measure:

Measure 2 = 
var _table=SUMMARIZE(ALL('Table'),[id],[volume])
return
SUMX(_table,[volume])

v-henryk-mstf_0-1623725377763.png


Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

sumx(summarize(Table, Table[ID], Table[Volume]),[Volume])

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.