Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
MyColumn =
VAR1 = ...
VAR2 = ...
VAR3 = ...
VAR4 = ...
I want to get the minimum value of all these variables excluding empty values.
MIN only takes two arguments.
Nesting is boring.
Is there a better way?
Thank you!
Solved! Go to Solution.
Hi @webportal
Yes it can handle that.
Measure =
VAR a = 8
VAR b = BLANK()
VAR c = 21
VAR d = 5
VAR tab = {(a),(b),(c),(d)}
RETURN MINX(tab,[Value])
Regards
Phil
Proud to be a Super User!
Hi @webportal
Define empty! If its an empty string then using MIN won't work as hoped and you mentioned MIN in the qs so assumed we were dealing with numbers.
It will discount BLANK values.
Phil
Proud to be a Super User!
Hi @webportal
Yes it can handle that.
Measure =
VAR a = 8
VAR b = BLANK()
VAR c = 21
VAR d = 5
VAR tab = {(a),(b),(c),(d)}
RETURN MINX(tab,[Value])
Regards
Phil
Proud to be a Super User!
Hi @webportal
Try this
Measure =
VAR a = 3
VAR b = 4
VAR c = 2
VAR d = 5
VAR tab = {(a),(b),(c),(d)}
RETURN MINX(tab,[Value])
Regards
Phil
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 83 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |