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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Euro0681
Helper II
Helper II

Calculation With Filters

Having an issue, the image on the left shows a calculation of sum and the image on the right shows same sum as well
the only difference the calculation on the left has filters applied as a visual filter and the calculation on the right has the same filters applied inside the calculation.
Not understanding why it repeats the the first ID twice??

Euro0681_0-1669237209834.png

Calcualtion W/Filters: 

Calculate(Sum('Table1'[Sales]) , 'Table1'[Sales] > 0, 'Table2'[Date] in {"2020 - 01","2020 - 02", "2020 - 03"}) 

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Euro0681 

Are you sure they are the same? If you mean the first two rows in your screenshot, I see two different IDs.

@FreemanZ  well not identical but on the screenshot in the right the id starting with 3 has an additional value "340.00" which wasn't in the left screenshot but left image has same filters applied on a visual level and the one in the right has it in the calculation so why the additional value?

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!