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.
Hi All,
I have the following measure
Solved! Go to Solution.
Hi @cflynn_29
have you tried to write your measure like this?
2.6 = if(hasonevalue(data[school]),MAXX(VALUES(Data[School]), [Area max per School]),0)
Cheers,
Sturla
Hi @cflynn_29
have you tried to write your measure like this?
2.6 = if(hasonevalue(data[school]),MAXX(VALUES(Data[School]), [Area max per School]),0)
Cheers,
Sturla
Don't understand why there's MAXX in there... This returns the same output:
if( hasonevalue( data[school] ),
[Area max per School],
0
)
which can also be compacted to:
hasonevalue( data[school] ) * [Area max per School]
The two (and the one given by @sturlaws) are exactly the same.
Best
D
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |