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 would like to know if there is a way I can create a column and assign both positives and negative values based on another Column.
here is a hypothetical there is a column laballed DRCRcode and another labelled Amount. I would like to create another column that will reference DRCRcode and return a positive or negative into the new column.
I tried this formula but it's not getting the job done
Solved! Go to Solution.
HI @Anonymous ,
I do not see any error in your formula. Are you creating a Calculated Column or a Measure. Please click on New Column.
Mine works fine
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
HI @Anonymous,
Your formulas is a calculated column, please double check you are use it in 'calculated column' expressions and the fields it invoked are numeric types that can be calculated with math operators.
In addition, what connection mode are you work with? AFAIK, direct query mode has limited the DAX function usage in calculated column expression.
Regards,
Xiaoxin Sheng
HI @Anonymous ,
I do not see any error in your formula. Are you creating a Calculated Column or a Measure. Please click on New Column.
Mine works fine
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
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 |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |