Excel sumifs and the powerpivot version help please
very new to power pivot, can you help please?
In an excel table I was able to do the following...
=SUMIFS([GWP],[Date],[@Date],[PolType],[@PolType])
I have 60k rows where the above totals all GWP where the date & policy type match the individual record. This in effect gives a subtotal, per date per policy type rather than doing it in a pivot table. This works
nicely however it takes for ages to update, and calculate, also has issues when I then need to pivot table it.
As a result I'm trying to use powerpivot, as I understand it is better at dealing with these big calculations, I've tried the calculate formula, but I cannot understand how to have a rolling criteria in the field. Like I can in my sumifs.
Thank you in advance for your help
Mathew
To duplicate your original SUMIF as a Calculated Column in PowerPivot you could use one of the following:
Using EARLIER():
=CALCULATE(
SUM(Table1[GWP]),
FILTER(
Table1,
Table1[Date] = EARLIER(Table1[Date]) &&
Table1[PolType] = EARLIER(Table1[PolType])
Using ALLEXCEPT:
=CALCULATE(
SUM(Table1[GWP]),
ALLEXCEPT(
Table1,
Table1[Date],
Table1[PolType]
Both should produce the same result as a Calculated Column.
The second version with ALLEXCEPT() should also work a Measure/Calculated Field:
ALLEXCEPT Measure:=
CALCULATE(
SUM(Table1[GWP]),
ALLEXCEPT(
Table1,
Table1[Date],
Table1[PolType]
The advantage of the measure is that it should return the expected result in a pivot and filtering dynamically.
Your final measure would then be:
Percent GWP:=
SUM(Table1[GWP])/[ALLEXCEPT Measure]
In all examples, replace 'Table1' with your actual table name in Power Pivot.
Similar Messages
-
please help
Hi there xian0623,
You may find the troubleshooting steps in the article below helpful.
iPhone: Troubleshooting a cellular data connection
http://support.apple.com/kb/TS3780
-Griff W. -
Emailed note, but phone sent the old version. help please!
I emailed a note to myself but it emailed an old version, and now the newer version has disappeared and isn't available on my iphone. How can I recover the newer note?
It doesn't say any name... Just the number of notes, and then lists the notes below. I'm referring to the yellow notepad app that comes standard on the iphone.
For background, I had tried to email the notes to myself a couple of months ago, but apparently my gmail account wasn't properly synched so it never went through. Then yesterday, I fixed the gmail synching issue and suddenly my phone sent out all the emails that hadn't gone through over the past month or two. So it emailed the notes to me, but it emailed the notes as they stood two months ago. I had made changes since then, but the emailed versions didn't reflect these changes, and now the notes are gone from my list of notes (I thought emailing would send a copy, didn't realize it would totally remove the note from my phone).
Thank you! -
I have Mavericks on my iMac and the latest version of iPhoto 9.5.1 (902.17) but no book, card, calendar, album, slideshow, print and order prints options under Share, which still shows Set Desktop. Any ideas please?
LN,
Since I couldn't expand the zip file on my desktop, I expanded the file on an external drive. Here's the information:
Hardware Information:
iMac (27-inch, Late 2012)
iMac - model: iMac13,2
1 3.4 GHz Intel Core i7 CPU: 4 cores
8 GB RAM
Video Information:
NVIDIA GeForce GTX 675MX - VRAM: 1024 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
Startup Items:
NUDC: Path: /Library/StartupItems/NUDC
System Software:
OS X 10.9.1 (13B42) - Uptime: 0 days 0:16:52
Disk Information:
APPLE HDD ST1000DM003 disk0 : (1 TB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 999.35 GB (698.05 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Inc. iPod
HGST G-Drive Mobile USB 1 TB
EFI (disk1s1) <not mounted>: 209.7 MB
iMac Backup (disk1s2) /Volumes/iMac Backup: 999.86 GB (10.14 GB free)
Elgato Systems EyeTV Hybrid
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. MacBook Air SuperDrive
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
LSI Logic SYM13FW500-CDROM DRIVE 400mbit - 400mbit max
Newer Technology, Inc. Oxford ATA Device 00 800mbit - 800mbit max
disk3s1 (disk3s1) <not mounted>: 32 KB
disk3s2 (disk3s2) <not mounted>: 29 KB
disk3s3 (disk3s3) <not mounted>: 29 KB
disk3s4 (disk3s4) <not mounted>: 29 KB
disk3s5 (disk3s5) <not mounted>: 29 KB
disk3s6 (disk3s6) <not mounted>: 262 KB
disk3s7 (disk3s7) <not mounted>: 262 KB
disk3s8 (disk3s8) <not mounted>: 262 KB
Media (disk3s10) /Volumes/Media: 499.97 GB (151.37 GB free)
Newer Technology, Inc. Oxford ATA Device 00 800mbit - 800mbit max
EFI (disk2s1) <not mounted>: 209.7 MB
Mini Stack (disk2s2) /Volumes/Mini Stack: 999.86 GB (470.15 GB free)
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Apple Inc. Thunderbolt to FireWire Adapter
Kernel Extensions:
com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6)
com.netralia.driver.VBMicDriver (1.0.0 - SDK 10.7)
com.netralia.driver.VBSpeakerDriver (1.0.0 - SDK 10.7)
Problem System Launch Daemons:
Problem System Launch Agents:
[failed] com.apple.accountsd.plist
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.elgato.EyeConnect.plist
[failed] com.google.GoogleML.plist
[loaded] com.google.keystone.daemon.plist
[loaded] com.microsoft.office.licensing.helper.plist
[invalid] com.oracle.java.Helper-Tool.plist
Launch Agents:
[failed] com.epson.eventmanager.agent.plist
[failed] com.google.keystone.agent.plist
[invalid] com.oracle.java.Java-Updater.plist
User Launch Agents:
[loaded] com.google.Chrome.framework.plist
[failed] com.google.GoogleContactSyncAgent.plist
User Login Items:
EyeTV Helper
apple-scc-20131222-190227
Skype
Messages
Thunderbird
3rd Party Preference Panes:
remoting_host_prefpane
Déjà Vu
DivX
Flash Player
Flip4Mac WMV
GPGPreferences
Internet Plug-ins::
Shutterfly: Version: 3.0.1
Google Earth Web Plug-in: Version: 6.2
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8
Musicnotes: Version: 1.17.3
OfficeLiveBrowserPlugin: Version: 12.3.5
PandoWebInst: Version: 1.0
FlashPlayer-10.6: Version: 12.0.0.39 - SDK 10.6
DivXBrowserPlugin: Version: 1.4
RealPlayer Plugin: Version: (null)
Flash Player: Version: 12.0.0.39 - SDK 10.6 Outdated! Update
iPhotoPhotocast: Version: 7.0
googletalkbrowserplugin: Version: 4.9.1.16010
QuickTime Plugin: Version: 7.7.3
AdobePDFViewer: Version: Unknown
Photo Center Plugin: Version: Photo Center Plugin 1.1.2.0
Silverlight: Version: 5.1.20913.0 - SDK 10.6
ContentUploaderPlugin: Version: 1.2
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
User Internet Plug-ins::
WebEx64: Version: 1.0
Move_Media_Player: Version: npmnqmp 071505000006
WebEx: Version: 1.0
MRJPlugin: Version: 1.0-JEP-0.9.0
Bad Fonts:
None
Old applications:
Audiogalaxy Helper: Version: 3 - SDK 10.5
/Applications/Audiogalaxy Helper.app
Disc Cover 3: Version: 3.0.10 - SDK 10.5
/Applications/Disc Cover 3.app
Epson Printer Utility 4: Version: 9.14 - SDK 10.5
/Library/Printers/EPSON/InkjetPrinter2/Utility/UT4/Epson Printer Utility 4.app
Keynote: Version: 5.3 - SDK 10.5
/Applications/iWork '09/Keynote.app
Kies: Version: 2.1.0.13071_1 - SDK 10.5
/Applications/Kies.app
Microsoft Alerts Daemon: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Alerts Daemon.app
Microsoft AutoUpdate: Version: 2.3.6 - SDK 10.4
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
Microsoft Chart Converter: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Chart Converter.app
Microsoft Clip Gallery: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Clip Gallery.app
Microsoft Database Daemon: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app
Microsoft Database Utility: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Database Utility.app
Microsoft Document Connection: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Document Connection.app
Microsoft Error Reporting: Version: 2.2.9 - SDK 10.4
/Library/Application Support/Microsoft/MERP2.0/Microsoft Error Reporting.app
Microsoft Excel: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Excel.app
Microsoft Graph: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Graph.app
Microsoft Language Register: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
Microsoft Office Reminders: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Office Reminders.app
Microsoft Outlook: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Outlook.app
Microsoft PowerPoint: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft PowerPoint.app
Microsoft Ship Asserts: Version: 1.1.4 - SDK 10.4
/Library/Application Support/Microsoft/MERP2.0/Microsoft Ship Asserts.app
Microsoft Upload Center: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Upload Center.app
Microsoft Word: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Word.app
My Day: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/My Day.app
Numbers: Version: 2.3 - SDK 10.5
/Applications/iWork '09/Numbers.app
Open XML for Excel: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Open XML for Excel.app
Pages: Version: 4.3 - SDK 10.5
/Applications/iWork '09/Pages.app
SLLauncher: Version: 1.0 - SDK 10.5
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
Senuti: Version: 1.2.9 - SDK 10.5
/Applications/Senuti.app
Solver: Version: 1.0 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
SyncServicesAgent: Version: 14.3.1 - SDK 10.5
/Applications/Microsoft Office 2011/Office/SyncServicesAgent.app
TechTool Deluxe: Version: 3.1.4 - SDK 10.4
/Applications/TechTool Deluxe.app
TurboTax Home Business 2011: Version: 2011.r15.011 - SDK 10.4
/Applications/TurboTax Home Business 2011.app
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 930.71 GB Disk used: 280.61 GB
Destinations:
iMac Backup [Local] (Last used)
Total size: 931.19 GB
Total number of backups: 31
Oldest backup: 2013-12-19 05:31:29 +0000
Last backup: 2013-12-26 15:57:21 +0000
Size of backup disk: Adequate
Backup size 931.19 GB > (Disk used 280.61 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
2% EyeTV
1% WindowServer
1% Google Chrome
1% EtreCheck
0% AddressBookSourceSync
Top Processes by Memory:
328 MB thunderbird
213 MB com.apple.IconServicesAgent
205 MB mds_stores
197 MB iPhoto
164 MB Google Chrome
Virtual Memory Statistics:
2.81 GB Free RAM
3.50 GB Active RAM
778 MB Inactive RAM
948 MB Wired RAM
499 MB Page-ins
0 B Page-outs -
Since I have Yosemite on my iMac I can't view PDF files in Safari anymore. It keeps telling me to upgrade my Adobe Reader, but it is the latest version. Please help? I don't have this problem on my Macbook that does not have Yosemite installed.
Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
Step 1
If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
Step 2
There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
Step 3
If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
Safari ▹ Preferences... ▹ Security
and check the box marked
Allow Plug-ins
Then click
Manage Website Settings...
and make any required changes to the security settings for the Adobe PDF plugin.
Step 4
Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
Step 5
The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
Step 6
Do as in Step 4 with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari. -
I am trying to download Firefox 3.6 to use on my Mac OS X version 10.3.9. Three attempts and I continue to get "mounting failed" and "corrupt image". Help please?
Firefox 3.6 requires at least OS X 10.4, the last version of Firefox that worked on OS X 10.3.9 was Firefox 2.0.0.20 which is available from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/mac/
-
My mac can't connect to belkin router? My mac can connect but I still can't surf the net? Help Please... This is my first time to use mac and belkin.
Is it Wireless you're trying to connect with?
Which Mac?
So we know more about it...
At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware> and report this upto but not including the Serial#...
Hardware Overview:
Model Name: iMac
Model Identifier: iMac7,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 6 GB
Bus Speed: 800 MHz
Boot ROM Version: IM71.007A.B03
SMC Version (system): 1.21f4 -
Why would you allow firefox to update computer web-browsers if you have an idea that it will no longer work after the update? And why would you not include instructions for, how to fix the problem? Help Please! Can I go back to the old one?
Ron Bell
[email protected]Mozilla, like many other software companies, thoroughly test their software before releasing it to the public and I'm sure that no problem you are having is intentional.
I do not work for Mozilla but I do have experience of releasing software for public usage.
Firefox has no way of knowing what other software is already on your computer and with millions of combinations it isn't always possible to test for every scenario.
You can go back to the old version of Firefox but that won't always solve your problem.
The web site below tells you how:
https://support.mozilla.com/en-US/kb/Installing%20a%20previous%20version%20of%20Firefox -
Our iTunes will not open. It reads that we need the English version? Please help.
If I download a new iTunes will I lose everything we have?Same issue for me. Was running 10.5.3 due to the bug in 10.6 with Apple TV. Upgraded to 10.6.1 since it was supposed to solve the issues. ANd no I can;t open iTunes at all.
Annoyed that 10.6 was shipped with the bug with the Apple TV sortting of titles.
Really p*ssed off that 10.6.1 which was supposed to fix this has totally borken iTunes for me.
Time to try to revert to 10.5.3 again.
Apple, what's happened with Q/A.
(My setup - latest patched Lion, upgraded via Automatic update; so nothing out of the ordinary.) -
Question
I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
'''(in English)'''Hi Danny,
Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
but not 180, right?
I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
=COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
or
=SUM(IIF(Fields!TICKET_STATUS=4,1,0))
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.
Try:
fix for Home button
iPhone Home Button Not Working or Unresponsive? Try This Fix
- If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
- If not under warranty Apple will exchange your iPod for a refurbished one for:
Apple - Support - iPod - Repair pricing
You can do it an an Apple store by:
Apple Retail Store - Genius Bar
or sent it in to Apple. See:
Apple - Support - iPod - Service FAQ
- There are third-party places like the following that will repair the Home button. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
I've upgraded to OS 10.8.2 and my Bowers and Wilkins MM-1 Speakers were working fine until today, and now they won't play any sound at all, even though iTunes shows the audio is playing. I've tried both the headphone jack and the USB port. Please help! I don't want to have to be stuck using my internal speakers!
Thank you,
ChrisMichael,
Thanks. I haven't mixed down the audio or checked the number of tracks in Prefs. Good points.
As far as a mixdown goes, I'll definitely give it a try, though I wonder whether or not the tracks will be recognized during mix down recording - given that you can't hear either of those segments in playback. Just have to try.
Re the preferred number of allowed tracks - I'll go check as soon as I send this off, but I'm not sure that applies in this case, since the two Channels containing the segments that are pinked out are not in additional tracks. I should have mentioned that other audio clips and segments on the same Channels in the SAME tracks ARE heard in playback. As are two additional track in the 2nd Sequence. It's only when the two sequences are joined that the pink tinted segments can't be heard. Within the sequence the same audio cuts playback as they should. Thanks again &
Best regards,
David -
DOES ANYONE KNOW HOW I CANT DELETE MY APPLE ID I JUST GOT A NEW AND NO LONGER NEED THE OLD 1 HELP PLEASE
As far as I know they can't be deleted, just remove any personal info from it (credit card details etc) and stop using it.
If you downloaded any content via it then you will need to remember it and it's password, as content is tied to the account that bought/downloaded it, so if you move to a new computer you'll need to authorise the account on it if you want to use any of its content there (or if you bought apps with it you'll only be able to download updates to them via that account) -
i am not getting notification on most of my apps, e.g twitter and facebook...except i go to the app and refreshed manually. its an iphone 4 and running on ios5...i have gone through everything and its still the same..help please........
I seem to be having the same problem on my brand new iPhone 4S. Everything was working fine on the phone until I updated to iOS 5.1.1, but now I no longer receive push notifications for the native Mail app, Instagram, or the Facebook app. I still seem to be receiving SMS texts and iMessages via push, but the aforementioned apps need to be opened before I can receive missed notifications (having them open in the background seems to make no difference).
Thanks for any help that you may provide!did you try notifications under settings? You can customize it as per your requirement, for each application.
check this out: http://www.gottabemobile.com/2011/10/12/ios-5-how-to-use-notification-center/ or http://reviews.cnet.com/8301-19512_7-20120625-233/ios-5-notifications-a-deeper-l ook/ -
I tried to download iOS 6 on my iPod 4 and I disconnected my iPod from my computer and now it won't load. I even tried reconnecting my iPod to the computer. Help Please!
I was trying to update my iTunes, so the computer asked me to restart my computer. After I selected shut down. I knew it was a mistake. What should I do?
Maybe you are looking for
-
How to use log4net with C# clients
Hi, Can anybody please give an example of how to use log4net with C# clients? Foe java clients you can use the <logging-config> <destination>log4j</destination> How do we use it with C# clients? Any example will be appreciated. Thanks. -ali
-
Is SAP PO 7.4 dual stack installation??
HI experts, Could anyone let me know if SAP PO 7.4 is a dual stack installation or can we go for single stack as well. As PI 7.4 is based on HANA , so while working on it shall we use ICO or old classic configuration. Shall we go for java based adapt
-
Problem connecting to WD Netcenter HDD with Mac
Hi there! It is quite funny...with my PC (WinXP) I can connect to the WD Netcenter HDD (10.0.1.6 reserved IP)...with my MBP it is not possible! Hardware: MBP C2D 2.33 over WLAN AEn AMD64 WinXP over LAN What must I do to get my Mac connected to the WD
-
Can X serve provide print services across a router?
The technology folks upgraded the network in my school last weekend and put my server on a separate subnet from the eMacs that it is controlling. It still controls all settings but the client computers no longer see the server in Network. We can stil
-
Can you customize drop zones in Motion?
Im trying to help a client who spends an extra day on his "template" adding picture to it but then resizing and cropping when the photo's are portrait as a apposed to landscape. I'm not really sure why this takes him so long, I think he has Motion 3