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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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