Working with Queries in SQL or MDX For each query in a report, you can work with the SQL or MDX that is executed when you run a report. Note: MDX is not available with DMR data sources.