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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Cannot convert field parameter to number even though underlying data are numbers

I created a field parameter through 2 dimensions that are both numbers. I am trying to visualize the field parameter but I cannot because its stored as text. When i try to convert to number, it would not let me. What should i do? 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , why do you want to do that? If you create with measure, you will be able to use in values

 

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I am trying to create visuals and allow you to toggle between cases and KG for the visuals. Cases and KG are number values and will be used in bar and donut charts. When i created the field parameter, it is stored as text so it is not working for bar and donut charts. Does that make sense? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.