Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
User | Count |
---|---|
116 | |
73 | |
62 | |
50 | |
46 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |