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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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