Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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