Filter out blanks

Jriker1

New Member
Joined
Feb 13, 2013
Messages
26
I have a chart that displays information per quarter. I have a field called quarter-year that says Q1 or Q2 or Q3 or Q4. Problem is some data has no dates so the calculation to populate Q1... doesn't always trigger. so in the report, on the horizontal bar it consists of blank, then Q1 Q2 Q3 Q4. I have eliminated the blank data by adding a filter on the graph and on the field buttons check "Select Multiple Values", and then uncheck the blank box. Problem is when there is new data, valid data, those come in unchecked and I have to update the filter manually checking them each time. Is there a way on a report to eliminate blank values thru a measure or something?

Thanks.

JR
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Thanks for the suggestion. New to Powerpivot so banging my head. Tried a bunch of methods but the results were odd and neve eliminated blanks. Essentially I'm setup this way currently which is visually nice:

Graph with no blanks in the beginning:
1.png


Here is how my Pivot Field List is setup:
2.png


For the above Sum of Device Count it's setup Selected "Sum" and : =SUM('Table_country'[Device Count])


The way I'm currently filtering out blanks is:
4.png


Any new dates shows in that list unchecked and I have to check it. Trying to figure out how to replicate this functionality. showing the growth over time. Below is a screen sot of a sample of my data:

5.png


As you can see some countries have no dates and they show up before 2012Q1 if I don't manually uncheck the blank data. There are also cells that have the 2012Q1, 2012Q2, etc in them which are also blank if there is no date, but those are calculated fields in PowerPivot and couldn't show those well. If someone can let me know exactly how to do this "right" would be appreciated. Trying to learn yet want to show the power of this tool to my management so we can get some official training.

Thanks.

JR
 
Upvote 0
Try wrapping your measure in something like this:
New Measure:=IF(HASONEVALUE('Table1'[Quarter-Year]),IF(VALUES('Table1'[Quarter-Year])=BLANK(), BLANK(), [Sum of Device Count]), BLANK())

Use this new measure in your pivot/chart instead of Sum of Device Count.
 
Upvote 0

Forum statistics

Threads
1,223,936
Messages
6,175,508
Members
452,650
Latest member
Tinfish

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