PowerPivot- Are Measures alwasy required in SQL Queries?

Jerry Sullivan

MrExcel MVP
Joined
Mar 18, 2010
Messages
8,787
Hello PowerPivot users!

I'm relatively new to PowerPivot and I'm trying to understand a fundamental concept of SQL Queries of OLAP sources.

Is there a way to extract a lookup table from an OLAP source without including a Measure in the Query?

For example, if I want to generate a table that has two fields: Project and Project Manager for all projects in the database, it seems the only way I can create that table in the PowerPivot Table Import Wizard design window is if I also include a measure like "Revenue" or "NetProfit".

I can do that then hide the field, but it seems unnecessary.

I'm hoping that someone can explain the concept that I'm missing instead of just a work around to make that specific table.

Thanks in advance!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Re: PowerPivot- Are Measures always required in SQL Queries?

Hi Jacob, Thanks for the finding that link. I'm surprised to find that the fix is as simple as clicking the "Show Empty Cells" button.
The article states "...it is not intuitive for the Excel user who is trying to import data in PowerPivot." - which was an understatement in my case. :laugh:

Standard Excel PivotTables have a similar option to "show items with no data". The difference is that the PowerPivot Design Wizard shows no records when the "Show Empty Cells" button is not clicked instead of showing only those records that don't have empty cells. If you or anyone else can share some insight as to why that is I would appreciate learning that.
 
Upvote 0

Forum statistics

Threads
1,223,941
Messages
6,175,541
Members
452,652
Latest member
eduedu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top