March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I need to create a measure that shows the the value of the smallest category total. I have included a small dataset, but here is a text version of what I need:
Department | Paid $ (Measure that sums the paid amounts) |
Blue | -25 |
Green | 40 |
Purple | 24 |
Red | 74 |
I need a measure that shows the minimum departmental [Paid $], in this case -25. I need the measure to use any other filters already on the report. I'm stumped.
Thank you in advance!
https://kauffman.box.com/s/3nd49adb9zoivf1gecr7w0e1kiuz1zs6
Solved! Go to Solution.
Minimum Paid $ =
MINX(
ALL('YourTableName'[Department]),
[Paid $]
)
Minimum Paid $ =
MINX(
ALL('YourTableName'[Department]),
[Paid $]
)
This looks like exactly what I need! Thank you!
if you have filters you need to keep just swap all with allexcept and fill the slicers you need
Min = CALCULATE(MIN('Table'[Paid]),ALL('Table'))
OR
min = MINX(ALL('Table'),'Table'[Paid])
@eliasayyy Thank you for your swift reply. This is finding the minimum value of the column, not the minimum value of the measure. How can I find the minimum measure total?
hello what filters do you have on ?
@eliasayyy I could have other filters on such as Person or Region, as an example. I just want the measure to respect other filters if they are present. I need it to calculate the [Paid $] measure first by department, and then return to me the smallest category aggregation [Paid $].
then use
min = CALCULATE(MIN('Table'[Paid]), ALLEXCEPT('Table',[Region],[person]))
OR
min = MINX(ALLEXCEPT('Table',[Region],[person]),'Table'[Paid])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
90 | |
89 | |
85 | |
73 | |
49 |
User | Count |
---|---|
170 | |
145 | |
90 | |
67 | |
58 |