Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 666711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:50:54+00:00 2026-05-13T23:50:54+00:00

I have to SQL Server views being drawn to 2 seperate worksheets as pivot

  • 0

I have to SQL Server views being drawn to 2 seperate worksheets as pivot tables in an excel 2007 file.

the results on worksheet1 include example data:

- company_name, tickets, month, year
company1, 3, 1,2009 
company2, 4, 1,2009 
company3, 5, 1,2009 
company3, 2, 2,2009 

results from worksheet2 include example data:

company_name, month, year , fee 
company1,      1   ,  2009   ,  2.00 
company2,      1   ,  2009   ,  3.00 
company3,      1   ,  2009   ,  4.00 
company3,      2   ,  2009   ,  2.00 

I would like the results of one worksheet to be reflected onto the pivot table of another with their corresponding companies.

for example in this case:

- company_name, tickets, month, year, fee 
company1, 3, 1,2009 , 2
company2, 4, 1,2009 , 3
company3, 5, 1,2009 , 4
company3, 2, 2,2009 , 2 

Is there a way to do this without vba?

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:50:55+00:00Added an answer on May 13, 2026 at 11:50 pm

    figured it out. You can take the 2 views or tables in the database and use the SQL option to create a custom sql join in the definition tab under connection properties. You can then use this connection to create a Pivot table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have SQL Server 2008 Ent and OLTP database with two big tables. How
I have a database with a few tables running on SQL Server 2008, and
I have a view defined in SQL server 2008 that joins 4 tables together.
I have installer to install procedures, scripts, views, etc in SQL server 2005/2008. Now
I have an SQL Server Reporting Services (SSRS) report, that uses a view. That
We have SQL Server 2005 running on Win2003/64, and we push it hard. We
We have SQL Server database setup. We are setting up a replication scenarios where
I have SQL Server 2008 and VS 2008 Pro. And I am coding in
I have sql server procedure, please see below. ALTER PROCEDURE [dbo].[uspInsertDelegate] ( @CourseID int,
I have SQL Server 2008 with a table called ProductCategories designed like this: Id

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.