Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
wmf_07
Helper I
Helper I

Compare Sales vs Target Each Month (Multiple Targets by Branch & Other Categories)

In my dataset, I have my sales data and target data. The target data varies from month to month. I have multiple dates and multiple targets for each branch and Category. What would be the best way to model the data so I can show sales vs target?

 

For Example : - Filter by Month , Branch BA by Dairy,Cheese -> Sales v Target so I can the sales vs target for whichever month I filter it by.

 

Sales Data

DateSalesman IDBranch CodeCategoryCategory_1Transaction No.Sales
01-02-2024 00:0010010020ASpicesCloves100617302023
01-02-2024 00:0010010025BSatchetsSauce100573286045
01-02-2024 00:0010010089SDDairyMilk10061730206
01-02-2024 00:0010010089BADairyCheese100680635252
01-02-2024 00:0010010030WEFrozenFries10053236622
01-02-2024 00:0010010020AFrozenVegetables10068063521
01-02-2024 00:0010010020BSpicesCloves10077317456
01-02-2024 00:0010010020SDSatchetsSauce27586817417

 

Target (Overall)

MonthBranchCategoryCategory_1Target
FebASpicesCloves49
FebBSatchetsSauce34
FebSDDairyMilk45
FebBADairyCheese45
FebWEFrozenFries41
MarAFrozenVegetables49
MarBSpicesCloves39
MarSDSatchetsSauce38
MarBADairyCheese43
MarWEDairyCheese30
2 REPLIES 2
Anonymous
Not applicable

Hi @wmf_07 

 

Thanks for the reply from @lbendlin , please allow me to provide another insight:

 

I am a bit confused about your data, there is no data for March in the "Sales Data" table.

vxuxinyimsft_0-1712042524814.png

 

You might try the following:

 

You can merge the two tables together.

vxuxinyimsft_1-1712042745297.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Get your date columns to use the same format. Use a Calendar table. Be more specific on your targets.  Normalize the Branch, Category and Category_1 columns out into their own dimensions.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.