This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 has a Current year flag, so I'm not sure how to create a measure to remove the filter coming from the filter pane and pull the all-time minimum sales based on the Area selected from the slicer.
any help on this is greatly appreciated.
@Anonymous Then try this:
All_max=var tempTable=ADDCOLUMNS(SUMMARIZE(ALL('Dates'),'Dates'[Year],'Dates'[Month Name]),"_max",[Actual Sales])
return MAXX(temptable,[_max])
@Anonymous
it didn't work . I was expecting jul 2020 value (i.e 4,030,542.55) to repeat agianst each month on the visual
It's weird because for me it works as intended...
@Anonymous Replace ALLSELECTED() with ALL('Dates').
@Anonymous , 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
@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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 38 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |