cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mg01
Helper I
Helper I

How to pass the value of decimal parameter in Advance Editor

Hi Team,

I created few parameter for my direct query report, one with text, one with date/time both are working fine.


Now I have created one decimal value parameter, let say I pass 1.02 in that parameter, then what format I need to pass in advance editor.

 

For example: we are using "&m&" for text value( here m hold value for text parameter in advance editor).


Similar what syntax I need to pass to fetch value of decimal parameter.

Thanks in advance!! 

1 REPLY 1
lbendlin
Super User
Super User

is this for a custom SQL query against a direct query source?  You need to use Text.From()  to convert your value to something you can use in the query.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors