Getting this error while trying to create a calculated column with values from another column that are all formatted as Whole Numbers.
Can you please explain why am I getting this error if the data-type is not variant?
Thank you
J
Solved! Go to Solution.
Hey,
I'm not sure what exactly is going on, but as I change the data type (not just format) of the column to decimal number, it seems to work, at least in my simple table.
Hm, I'm wondering why you use CALCULATE(...), this creates a context transition meaning, transforming the exsisting row context (the current row, as you are creating a calculated column) into a filter context. Basically each column value of your table will act as a filter value. This means, if your table contains a row identifier, just one row is used to calculate PERCENTILE.INC.
Regards,
Tom
Hey,
I'm not sure what exactly is going on, but as I change the data type (not just format) of the column to decimal number, it seems to work, at least in my simple table.
Hm, I'm wondering why you use CALCULATE(...), this creates a context transition meaning, transforming the exsisting row context (the current row, as you are creating a calculated column) into a filter context. Basically each column value of your table will act as a filter value. This means, if your table contains a row identifier, just one row is used to calculate PERCENTILE.INC.
Regards,
Tom
Thanks! THis solves my problem. Somehow I have to change the source column to decimal to get rid of the error. Not sure if it's a bug or something.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
398 | |
105 | |
68 | |
55 | |
49 |
User | Count |
---|---|
379 | |
118 | |
82 | |
67 | |
54 |