Forum Discussion
Anonymous
4 years agoNot applicable
Pull all-time minimum value ignoring some external filters
I have a requirement to pull all-time minimum sales for any given area . With the help of a community member, I was able to get the current year minimum sales. The catch is that the visual already ha...
amitchandak
Super User
4 years agoAnonymous , Try to add removefilters or all
calculate([Min value], all(Table[current year flag])
or
calculate([Min value], removefilters (Table[current year flag])
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
- Anonymous4 years agoNot applicable
amitchandak Anonymous
I changed from Min to Max as some months had no data.
I tired both but I am not getting what I wanted
all Time Max_1 = CALCULATE([Current Year Max Sales],all(Dates))
all Time Max_2 = CALCULATE([Current Year Max Sales],all(Dates[Current Year Flag])).
Current year max is fine but all time max was 4,030,542.55 but getting a different result
I have also included the pbix file below.