Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |