Forum Discussion

louisechilds's avatar
louisechilds
Regular Visitor
1 year ago
Solved

Changing parameter data type

I am trying to change the data type of a parameter field from text to decimal and am receiving this error 

'Cannot convert value ''Sheet1'[Unemployment Rate (%) (2024)]' of type Text to type Number while processing column'

even though the individual fields in the parameter already have a decimal number data type.

 

Because of this the parameter is not working to change the colour saturation of a shape map even though the shape map colour saturation works when using an indiviual column not through the parameter.

 

Any help would be appreciated!

7 Replies

  • Remove the parameter. Change all your desired columns to the right type. Recreate the parameter.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, louisechilds 

    May I ask if you have gotten this issue resolved? If it is solved, please share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


    If it is not resolved, I hope you will provide the full .pbix file via OneDrive or SharePoint. Please be careful to remove all sensitive information and we will do our best to provide ideas for your issue.

     

     

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
    Best Regards,
    Fen Ling,
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.