Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
In Excel I have been using the following expression in Column C
=if(A3<1, B3*21, C2)
Essentially returning the calculated value in column C if the value in column A is lees than 1 and the value in the previous row of column C if it is greater than 1.
How can this be done in a calculated column in PowerBI?
See sample data below.
| A | B | C |
| 0.2 | 5.3 | 111.3 |
| 0.3 | 5.2 | 109.2 |
| 0.5 | 5.8 | 121.8 |
| 0.2 | 5.7 | 119.7 |
| 1.5 | 8.4 | 119.7 |
| 1.6 | 8.4 | 119.7 |
| 0.2 | 5.3 | 111.3 |
| 0.3 | 5.4 | 113.4 |
| 0.2 | 5.3 | 111.3 |
| 0.2 | 5.2 | 109.2 |
| 1.5 | 8.4 | 109.2 |
| 1.6 | 8.4 | 109.2 |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |