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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

SQL query binding parameter to other table

Dear All

I would like to ask you about problem that i facing, I created SQL query that is working correctly, I created the parameters,

but if i bind the parameters to tInjectionValues, than nothing is working.

tInjectionValues is direct query table.

 

jmor_0-1622619599433.png

 

After this binding report is not working

jmor_1-1622619029349.png

 

jmor_2-1622619136989.png

biding was done as described here Unlock the power of dynamic parameter binding for ... - Microsoft Power BI Community

 

I think it would be better not used query and binding but measure directly used for tInjetionValues, but i was not successful to create one.

 

Can you please advice me what is best approach for this issue?

 

Thank you very much

 

Best regards Jakub

2 REPLIES 2
Fowmy
Super User
Super User

@Anonymous 

It seems the type is not valid for the Factory parameter.

Edit Factory parameter and change the Type to TEXT.

Fowmy_0-1622620136276.png
In your Query, do not use Number.ToText

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Thank you for your reply but this didn't help.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.