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,
I am trying to get the next bottom ranked value that is not zero. This is what I currently have written to return the first ranked lowest value.
Is there a way to write something that says
IF result = 0 then
Maybe this to return positives only into the measure :
Least COUNT =
VAR _rank = CALCULATE(
Audit[Sum Audits and Entries],
FILTER(
System_Users,
RANKX(
System_Users,
Audit[Sum Audits and Entries],,
ASC,
DENSE
) = 1
)
) + 0
VAR Result = If ( _rank > 0 , _rank )
Return
Result
Good luck !
Great thought. Unfortunately it just removes the results with zero.
Visualization Filters
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |