Need to use Power Pivot and slicers to show all unique item prices by month in a chart

thalamus

New Member
Joined
Feb 4, 2015
Messages
4
Hello,

I currently query large amounts of transaction purchase order data which basically shows the item price and month it was purchased.

I want to be able to filter to an individual item ID with a slicer and have the chart show all unique prices for that item by month. The issue is that there are sometimes multiple prices for the same item in the same month, and I don't believe excel is letting me use a scatter plot with a pivot chart.

I currently have the DAX formulas setup to uniquely identify the max item price per item and chart that by month. It's better than nothing but I was wondering if there was a way to show ALL unique item prices by month on the chart.

I would love to insert my file but embarrassingly, I am new to the forum and do not see an insert file button.

Thank you very much for the help,

Marc
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi Marc,
you should be able to show data from your PP Model also in table form, if they come from just one table (which seems to be the case here). You can apply slicers as well. There is also no need to remove duplicates if you want to show it as a scatter chart.

Go to "Data" - "Existing Connections" - "Tables" - then below "this workbook data model" should be displayed all tables that sit in the datamodel seperately. Select the one you need, choose open and the default selection should be "table" - accept and there you have your pp table in as an Excel table which has the right format for you scatter chart.
Insert the slicer (table tools) and take date and price as input for the chart.

BR, Imke
 
Upvote 0
I typically recommend just adding a link to your workbook via dropbox,onedrive,googledrive whatever.

Out of curiosity, can you get what you want in a pivot table (ignoring any charty-weirdness) ?
 
Upvote 0
Imke,

I tried doing that, but for some reason was unable to get the months to display properly on the scatter plot. Can you please be more specific on how to do this?

Scottsen - here is a link to my file so you guys can see the data layout. The issue with a normal pivot table is it will sum all my item prices, not show me unique ones. I don't know of a solution for this in a regular pivot table.

https://www.dropbox.com/s/fw6me60707l620t/Powerpivot example.xlsx?dl=0
 
Last edited:
Upvote 0
So, if i just put month and price on rows... and slice by product, I get this:



From here.. where are you hoping to go?
 
Upvote 0
I've been to that point, but my problem was showing all of that on a chart... Scatter plot seemed like the only viable option seeing as how there were multiple item prices per month. However, I cannot use a scatter plot from a pivot table. I think Imke touched on what to do above but I couldn't get the months to show on the axis properly.
 
Upvote 0

Forum statistics

Threads
1,224,065
Messages
6,176,169
Members
452,710
Latest member
mrmatt36

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