cancel
Showing results for 
Search instead for 
Did you mean: 
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

 


 

v-xicai
Community Support
Community Support

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
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!