Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
louisechilds
Regular Visitor

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!

1 ACCEPTED SOLUTION

You used the wrong parameter type. You need to use measures, not columns.

 

lbendlin_0-1729121704021.png

 

 

View solution in original post

7 REPLIES 7
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.

lbendlin
Super User
Super User

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

Thanks for your respone, I've tried this and it didn't word, all of the columns are decimal numbers but won't work with the map when used in a parameter.

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Here is the link to a smaller version of the data set I'm working with and what I'm trying to do in power BI. As you can see it works for one column but not through the parameter.

 

https://drive.google.com/drive/folders/1HZ4Q-Vrdyf3gtS5UW9DbTWxCbm2qXeO1?usp=sharing 

 

life expectancy.PNGparameter.PNG

You used the wrong parameter type. You need to use measures, not columns.

 

lbendlin_0-1729121704021.png

 

 

Thank you so much that fixed it!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.