I have created some pivot tables which shows sales of PC from different brands for multiple years. for example 2013 PC sales of dell,HP,Apple etc...
Now I want to compare these sales but I just want to compare top 10 results...I am trying to create a table which will show only the top ten values from the pivot table. I dont want to filter the pivot table to top 10 values.
Thanks and Regards
If you have to create your output as a table without filtering the pivot table, you can use cube functions. Create a cubeset that is all PC brands and order them by PC Sales. Create cubrankedmember functions for positions 1 through 10. Then write a cubevalue formula next to each cuberankedmember to retrieve the associated value. If you want to post a little more about your data model, I could write more specific cube function formulas.
Related
In power BI, I can use a calendar with LTM (last 12 months) and link it to a fact table (Sales for example). There are multiple transactions in the Sales table on the same date (to multiple customers) and there are multiple Periods linked to the same date (e.g. LTM and FY2022).
The relationship is many to many and it's perfectly managed with power BI
Note the total is different than the sum of the single rows (correctly)
I would like to replicate the same in Power Pivot, but I can't find a good solution.
Any suggestions?
Thanks!
You can get rid of the many-to-many by using a proper date table.
In Power Pivot add a new date table, and add columns for FiscalYear, and IsLastTwelveMonths, with DAX calculated columns.
I have results from a survey. The first pivot table breaks down the responses by age group and language.
The third pivot table counts how many of the respondents have access to a computer, tablet, cell phone. For example, 13 Chinese respondents age 18-49 have access to a computer, which is 50% of the 26 total Chinese/18-49 respondents. And then 16 of Chinese/18-49 have access to a tablet, which is 62% of the total Chinese/18-49 respondents, and so on.
I manually calculated/used a formula (=IF($B5="", "", J5/$B5 for Chinese/18-49 w/ Computers) the percentages in the last table, but is there a way to do it via pivot table?
I've tried looking at the Analyze -> Fields, Items & Sets tool but can't figure this out.
I'd like to do it by pivot table so that it can refresh if there are any new survey results, like one with a new language.
Thank you!
I have an Excel data that shows the Sales of each of the Sales Reps. So I want to see the total for each rep per month which is easily doable with a PivotTable. Now I want the Pivot Table to only show the Top 5 per month so say I have 2 months in the coverage, I will see 10 names in total.
The Top filter in Pivot Tables computes for the Top for the entire data set and not for each category. Or am I missing something? Is it possible?
Thanks a lot for your responses.
You can make a measure if you connect your data to the datemodel and use PowerPivot
Rigth click on table to add Measure
That will enable you to use DAX i Excel (used in Power BI) And by using DAX you can make a top 5 per categori
inspiration: https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
I'm trying to build a Pivot table out of 4 tables that i have loaded in PowerPivot.
the information in the rows of the Pivot is like this:
Region
account
Products
One of the tables has the forecasted values for all 4 quarters for each Region but when i add it as Sum Values it repeats the entire number for each product but i just want the total. Is there a way to fix it without having to change the color of the font to white to hide it?
Without more info can't be sure, but this looks like you have not set up the model to support the Quarterly Forecast Measures in PowerPivot. To get this to work, there needs to be one-to-many relationships between identifying fields in each table.
PowerDax answered based on the assumption that you intended for the Quarterly Forecast to roll up to the region because you phrased you're question to indicate the forecast data is at the regional granularity.
If the forecast data is in one fact table, and the EXT_SELL_PRICE is in another, you will need to set up dimension tables each containing unique lists of the members of each field you are using to slice and dice the report (looks like End User Region, Child Customer, forecast product name). Relate all you're fact tables (tables that contain you're actual data) to these and put the dimension table fields in the Rows area of the pivot table. Then the measures will have some way of understanding how they relate to the rows they are being applied to.
Hope that helps
it would be best for these to be actual calculated fields rather than implicit calculated fields (i.e. dropping the column onto the pivot table). This way you can utilize the isfiltered function to drive what you are looking for.
i.e. if your data is at this granularity:
Region Customer Product Ext_Sell_Price Q1 Q2 Q3
Brazil Acuntia 39XX 17246 743799 672599 748339
Brazil Acuntia 51XX 130918 743799 672599 748339
or you have the sales table and a region forecast table with a relationship to the sales table, you could check to ensure customer/product were not filtered in order to show the forecast:
Q1 Total:=IF( ISFILTERED( Table1[Customer]) || ISFILTERED( Table1[Product]), BLANK(), MIN( Table1[Q1]) )
I am trying to make a pivot table that has a list of inventory on one axis and customers on another axis. With this table I could replace all non-'1' values in the table with 1s and then use the column count to determine the total number of items purchased by each customer. However, Excel claims that there's far too much information and that it wouldn't be able to complete the task. Is there another way to do this that doesn't involve pivot tables?