Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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 ReportingMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |