03/09/2024
Using PowerBI, analysts and planners can see inventory Onhand and Sales side by side. We often want to see Inventory Onhand of bestsellers or sales of products we have high/low inventory of. In this video, we have the Onhand table, which shows how much of each SKU we have in stock at each location. We also have the Sales table, which has sales of each SKU at different locations.
First we create a visual for Onhand and Sales by dragging Location, Product Description, Quantity on Hand and Quantity Sold parameters
As there is no relation between the two tables yet, PowerBI starts showing the same quantity sold for all the locations.
To create relation for each SKU and location, we use the DAX formula "Concatenate" and combine Location and SKU. The newly created Locationsku column acts as the common column between the two tables.
Using the Relationship view, we connect "Locationsku". As PowerBI now understands the relation, it starts showing the right Quantity Sold.
We create a Pie chart and show the revenue contribution percentage by product.
We create a date slider. PowerBI automatically connects the slider with other visuals. As we move the slider and change the date, we see sold quantity and revenue percentage change.
This way we can see Onhand, Quantity Sold and Dollar Sales Amount for all products at any location within any timeframe.