The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
8 | |
8 |