Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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])
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
84 | |
83 | |
67 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |