Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Greetings!
I work in an organization with hundreds of departments, and each department has about a dozen reports. The reports are all the same -- meaning, every department has an 'employee birthdays' report, and every department has a 'budget status' report, and every department has a list of their employees, etc.
In other words, despite the fact that we have thousands of separate reports, they're all using the same queries, just with a different department location code. So, as an example, it'd be a query like:
SELECT * FROM emp_info WHERE location=8
SELECT * FROM emp_info WHERE location=9
SELECT * FROM emp_info WHERE location=10
SELECT * FROM emp_info WHERE location=11
SELECT * FROM emp_info WHERE location=12
...
The only thing that's changing is the location. It seems ridiculous to manually create hundreds of variations on the same SQL query, or to go pull in ALL departments (SELECT * FROM emp_info) and then manually filter them to create hundreds of variations.
Is there an easier way to create reports for each separate location automatically based on one query?
Thanks in advance!
Solved! Go to Solution.
Yes. It sounds like one report would do what you need.
That is about it. See this article for more info.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYes. It sounds like one report would do what you need.
That is about it. See this article for more info.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |