Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi
I want to create a new column or measure that looks at two colums with different data types and returns a value.
I want to re create the below. The start year is TEXT and the progression Target is decimal number. I want the progression column to populate based on -
If the start year is 2016/17 then return NA or blank, if it is anything else return the progression target. Any help would be appreciated, thank
| Start Year | Progression Target | Progression |
| 2016/17 | 5.6 | NA |
| 2016/17 | 2.8 | NA |
| 2016/17 | 3.7 | NA |
| 2017/18 | 7.5 | 7.5 |
| 2018/19 | 5.2 | 5.2 |
Solved! Go to Solution.
@WJ876400 You are missing second argument of format function
try this
IF(learners[ACADEMIC START YEAR]="2016-2017","NA",FORMAT(Learners[OJT_Target.CURRENT OJT TARGET],""))
Column = IF('Table'[Start Year]="2016/17","NA",FORMAT('Table'[Progression Target],""))
Hi @Anonymous i tried that but get the following error
@WJ876400 You are missing second argument of format function
try this
IF(learners[ACADEMIC START YEAR]="2016-2017","NA",FORMAT(Learners[OJT_Target.CURRENT OJT TARGET],""))
thanks very much that worked
Hi
It is from two spreadsheets merged in the query
thanks
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |