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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Asmasm
Helper I
Helper I

Paramerter does not get converted to currency from sting in power bi

I have a table with invoice amount as currency column but when added to parameter it automatically gets converted to text

OpenParameter =
VAR InvoiceLabel = "INV"
)
RETURN {
    (InvoiceLabel & " Count#", NAMEOF('ARAging'[Invoice Count]), 0),
    (InvoiceLabel & " Amount",NAMEOF('ARAging'[Invoice Amount]), 1)
}
I added it in a table matrix it shows the correct result but did not show totals as oppsed to other columns. Your help will be much appriciated 
1 ACCEPTED SOLUTION

Hello @Asmasm,

 

"create a measure that aggregate the values and reference the measure in the field parameter."

Solved: Re: Field Parameters not working on numeric fields - Microsoft Fabric Community

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |




View solution in original post

5 REPLIES 5
Asmasm
Helper I
Helper I

@uzuntasgokberk Thanks for your response!
I cannot use aggragate function as it is giving me wrong result.

Hello @Asmasm,

That means your count and amoutn columns are text data type column. So you need to change it. You can change in Power Query side or Column Tools. I show the example in Column Tools. Select your column and Column tools will be open.

uzuntasgokberk_0-1724221882184.png

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

No they are number and Currency. When used in parameter it gets converted to text.

Hello @Asmasm,

 

"create a measure that aggregate the values and reference the measure in the field parameter."

Solved: Re: Field Parameters not working on numeric fields - Microsoft Fabric Community

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |




uzuntasgokberk
Super User
Super User

Hello @Asmasm,

 

Create a measure that related to your Count and Amount. And use field parameter based on your measure. And you will see the totals.

 

uzuntasgokberk_0-1724221148432.png

 

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

 

İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.