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 Everyone,
I would like to add a new column to my data in Power BI. This New column should contain the lowest value (But not Blank or empty values) from multiple columns.
For example my table looks like this:
Article Nbr | Price 1 | Price 2 | Price 3 | Price 4 |
123456 | 1.01 | 1.05 | 1.20 | 3.70 |
456789 | 2.50 |
| 3.16 | 4.19 |
321654 | 1.23 | 0.98 | 3.04 |
|
987654 |
| 1.52 | 5.61 | 2.87 |
And i would like to add a calculated column so that the table will look like this:
Article Nbr | Price 1 | Price 2 | Price 3 | Price 4 | New Column |
123456 | 1.01 | 1.05 | 1.20 | 3.70 | 1.01 |
456789 | 2.50 |
| 3.16 | 4.19 | 2.50 |
321654 | 1.23 | 0.98 | 3.04 |
| 0.98 |
987654 |
| 1.52 | 5.61 | 2.87 | 1.52 |
Solved! Go to Solution.
You could try
Min value = MINX( { 'Table'[Price 1], 'Table'[Price 2], 'Table'[Price 3], 'Table'[Price 4]}, [Value])
You could try
Min value = MINX( { 'Table'[Price 1], 'Table'[Price 2], 'Table'[Price 3], 'Table'[Price 4]}, [Value])
Perfect that works 😀
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |