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 all,
Am trying to calculate a cost column based on multiple conditions but it seems like the last step where I need to calculate the results from coulmn values throws the whole thing off.
When I remove step
Solved! Go to Solution.
@ryan_mayu
I figured out where I was going wrong. I was comparing a numeric column(
Hi @eWise ,
Has your problem been solved? If it is solved, you can mark the correct answer.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
I guess it returns two type of data, if "*2.5", will be numerical type., otherwise will be "125" which is Text.
We can't set two different data types in one column
Proud to be a Super User!
I ended up formating it as below which worked but some of the columns are wrongly calculated;
Mileage 1374 and 191 should be 125 since no condition is met and mileage 2.5 should be 65. Am not sure what is causing that.
Since you are doing the calculation. I am not sure why you want to transfer numerical type to text?
could you pls provide the pbix file?
Proud to be a Super User!
@ryan_mayu
I figured out where I was going wrong. I was comparing a numeric column(
you are welcome
Proud to be a Super User!
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 |
---|---|
106 | |
94 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |