dbTalk Databases Forums  

how to enable "Show items with no data" check box

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss how to enable "Show items with no data" check box in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rodrigo Santos
 
Posts: n/a

Default how to enable "Show items with no data" check box - 09-21-2004 , 12:33 PM






We have users using Pivot Tables that would like to create Excel reports,
showing all members for a dimension, even if they do not have any values
associated with.

The option "Show items with no data" ckeck box isn´t available to select, is
there any reason for this ?

this option can´t be used with olap cubes ?

Is it necessary to change something in the cube, or dimensions for making
this available.

Thanks in advance





Reply With Quote
  #2  
Old   
Peter
 
Posts: n/a

Default RE: how to enable "Show items with no data" check box - 09-22-2004 , 07:35 AM






'You can try these macros:

Sub CheckSetting()

' You can check the display setting for empty columns and empty rows

Dim pvtTable As PivotTable

Set pvtTable = ActiveSheet.PivotTables(1)

' Determine display setting for empty columns.
If pvtTable.DisplayEmptyColumn = False Then
MsgBox "Empty columns will not be displayed."
Else
MsgBox "Empty columns will be displayed."
End If

' Determine display setting for empty rows.
If pvtTable.DisplayEmptyRow = False Then
MsgBox "Empty rows will not be displayed."
Else
MsgBox "Empty rows will be displayed."
End If

End Sub

Sub SetEmptyRows()

' You can set the display setting for empty columns and empty rows that
will be displayed

Dim pvtTable As PivotTable

Set pvtTable = ActiveSheet.PivotTables(1)

' Empty rows will be displayed.
pvtTable.DisplayEmptyRow = True

' Empty columns will be displayed.
pvtTable.DisplayEmptyColumn = True

End Sub

"Rodrigo Santos" wrote:

Quote:
We have users using Pivot Tables that would like to create Excel reports,
showing all members for a dimension, even if they do not have any values
associated with.

The option "Show items with no data" ckeck box isn´t available to select, is
there any reason for this ?

this option can´t be used with olap cubes ?

Is it necessary to change something in the cube, or dimensions for making
this available.

Thanks in advance





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.