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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
brankojosipovic
Frequent Visitor

sales target by location and month

Hi All,

I am a beginner in PowerBI and I assume that this is fairly simple to solve.
I have three table
Products -  info about the product and storing location

ProductIDLocationProductName
1Warehouse1Article1
2Warehouse1Article2
3Warehouse2Article3
4Warehouse2Article4
5Warehouse3Article5


TargetSale - which indicates how many products need to be sold in three months (June, July, August - 6,7,8)

ProductIDMonthTargetSale
1650
1760
1870
2640
2750
2860
3630
3740
3850
4630
4740
4850
5670
5780
5890


Sales - data about how many products were sold in three months (June, July, August - 6,7,8)

ProductIDMonthSold
1610
1720
1820
2615
2715
2820
3620
3720
3830
4612
4712
4815
5615
5716
5818

I need to create report  with one table to look similar to this one

MonthlocationTargetSold%(Sold/Target)
6    
 Warehouse1902528%
 Warehouse2603253%
 Warehouse3701521%
7    
 Warehouse11103532%
 Warehouse2803240%
 Warehouse3801620%
8    
 Warehouse11304032%
 Warehouse21004540%
 Warehouse3901820%

 

This is relationship model

brankojosipovic_1-1628523582246.png

And this is my result. It is not correct as you can see

brankojosipovic_0-1628523548289.png

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@brankojosipovic 

try to create a dim month table.

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@brankojosipovic 

try to create a dim month table.

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.