Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |