Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello, I need to get the cheapest value per group, but I can't in any way, I've already researched and it never works for me.
Minimum = CALCULATE(MIN(UltimasEntradas[UltimoValor]),ALLEXCEPT('apresentaçao', 'apresentaçao'[apresentacao]))
I would like the "Minimum" column to contain the minimum value per group, which in this case would be "4.99". I need this value in all lines, because later I will have to do another calculation to see the difference between the minimum and the "last value"
Solved! Go to Solution.
Did you already try:
Minimum = CALCULATE(MIN(UltimasEntradas[UltimoValor]),ALLSELECTED())
I got it this way below, you opened my mind, thank you very much.
MinimumGroup = CALCULATE( MIN(UltimasEntradas[UltimoValor]), ALLEXCEPT(UltimasEntradas, 'apresentaçao'[apresentacao])
You are right, the on screen order ofthe posts is a bit confusing sometimes, but the message numbers are clear 😉
Did you already try:
Minimum = CALCULATE(MIN(UltimasEntradas[UltimoValor]),ALLSELECTED())
I got it this way below, you opened my mind, thank you very much.
MinimumGroup = CALCULATE( MIN(UltimasEntradas[UltimoValor]), ALLEXCEPT(UltimasEntradas, 'apresentaçao'[apresentacao])
It even works on a separate Card, then I apply the filter and it works, but I wanted this column to appear in my visual table, and by group, not in general as in this case. Can you help me, thank you very much.
Would you mind posting a screenshot of the whole report page, where you currently are, and what should behave differently?
It's already been solved, look at the other answer, thanks