PowerPivot that behaves like 'group by having'

pennysmith

New Member
Joined
Aug 4, 2013
Messages
2
I newish to PowerPivot. Though I have used quite a bit of SQL.
I'm using PP just fine and am writing measures and creating relationships.

However I want to know if can I do this?
Suppose I create a measure to sum all sales for products. Call this [TOTSALES]
Now I only want to see [TOTSALES] > 1000.

I know I can sort by [TOTALES] and even have a rank.

But I only want products with [TOTSALES] to appear in my Pivot Table.
Is this possible?

So in SQL speak, this would be a bit like select prodcode, sum(sales) As TotSales from sales group by prodcode having sum(sales) > 1000


Apologies if this is a really dumb question.

Thanks in advance,
PS
Note: A moderator moved this message to the Excel Forum. This is not an excel problem. I am using PowerPivot connected to a database with many tables.

 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try a measure like this: BigSales:=SUMX(FILTER(ALLSelected('SalesTable'),SalesTable[Sales]>1000),SalesTable[Sales]) - Pete
 
Upvote 0
what about just wrapping things up with an =IF( [your measure] >1000, [your measure], blank()) ?
if your measure its something like =SUM(table[column) then the IF should be easier than the SUMX as the SUMX would iterate over the entire table and the IF would only be hitting the performance after the first SUM.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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