I am using Excel 2016 and Power Pivot. I have SQL code to subtract some data from an Oracle databases. My SQL code is in Power Pivot > Manage > Design > Table Properties. It is running well. I don't understand my setup, but it works.
However I want to control my code from my Excel workbook. For instance assume my code is like:
select *
from my_scheme.my_table
where date = '20200101'
Basically I want the date
variable to be set to a certain cell value. How can I do that?