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

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

Reply
Rigolleto
Resolver I
Resolver I

Passing Numeric paramerts to a Store Procedure (DirectQuery)

Hi,

 

I'm passing two parameters to a store procedure, as the fig 1 shown but, I am getting an error message, the SP the first parameter of the SP in Integer and I have setup the first parameter from the Power BI as numeric, can I send a numeric atribute parameter to an Intergar and/or I only can pass text values as parameters?

 

ImagenError1.pngImagenError2.png

 

1 ACCEPTED SOLUTION
Rigolleto
Resolver I
Resolver I

This issue has been solved

 

Thanks!!!

 

Basically the issue was related with the attribute field used as parameter, I did format the fields as text and everything worked as my request


@Rigolleto wrote:

Hi,

 

I'm passing two parameters to a store procedure, as the fig 1 shown but, I am getting an error message, the SP the first parameter of the SP in Integer and I have setup the first parameter from the Power BI as numeric, can I send a numeric atribute parameter to an Intergar and/or I only can pass text values as parameters?

 

ImagenError1.pngImagenError2.png

 


 

View solution in original post

2 REPLIES 2
Rigolleto
Resolver I
Resolver I

This issue has been solved

 

Thanks!!!

 

Basically the issue was related with the attribute field used as parameter, I did format the fields as text and everything worked as my request


@Rigolleto wrote:

Hi,

 

I'm passing two parameters to a store procedure, as the fig 1 shown but, I am getting an error message, the SP the first parameter of the SP in Integer and I have setup the first parameter from the Power BI as numeric, can I send a numeric atribute parameter to an Intergar and/or I only can pass text values as parameters?

 

ImagenError1.pngImagenError2.png

 


 

Hi @Rigolleto ,

 

Glad to hear the issue is resolved,  you can accept the right reply as solution, that way, other community members would benefit from the solution.

 

Best Regards,

Amy

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.