Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
I'm trying to do some dynamic, row-wise calculations in Power BI.
1. I would like the measure to take a lower value out of two columns - "Period 1" and "Period 2".
So basically, I would like to have the following View in my table - "min value" is the desired output.
I was trying to achieve it with minx function, to calculate everything per row, for example:
- Minx(Table, [Period 1] & [period 2]) - but the returned result is not correct.
Thanks in advance for any help.
Solved! Go to Solution.
try to add a calculated column like:
Min value = MIN([Period 1], [Period 2])
@Pieter_parker with MINX as calulated column
Column =
MINX ( { { t1[p1] }, { t1[p2] } }, [Value] )
with MINX as measure
Measure 2 = MINX ( { { MIN(t1[p1]) }, { MIN(t1[p2]) } }, [Value] )
with MIN as measure
Measure = min(MIN(t1[p1]),MIN(t1[p2]))
@Pieter_parker with MINX as calulated column
Column =
MINX ( { { t1[p1] }, { t1[p2] } }, [Value] )
with MINX as measure
Measure 2 = MINX ( { { MIN(t1[p1]) }, { MIN(t1[p2]) } }, [Value] )
with MIN as measure
Measure = min(MIN(t1[p1]),MIN(t1[p2]))
@askpbiuser Sorry, could not reply earlier. You can do any of the following
This is what I needed, thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |