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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
cathyloo
New Member

How to show target by month for sales agents in dashboard?

Hi, I have two datasets: one is detail of actual sales with multiple sales agents for multiple periods, the other dataset is target for multiple sales agents breakdown by month. I have linked the relationship for both data for the column agents, but I still unable to call out the target by month for the sales agents in the dashboard. The target shows the whole year one instead of by month, even when I use a slicer. How can I fix this issue? Thanks in advance.

Sales dataset:

DateAgentItemSales 
2/1/2023Ax10000
2/1/2023Bxx5000
3/1/2023Cx13000
5/1/2023Bx26000
1/1/2023Ax3100
5/2/2023Cx300
4/2/2023Axx100
2/2/2023Bx36000
2/2/2023Cx26220

 

Target Dataset:

DateMonthAgentSales Target
31-JanJanA20000
31-JanJanB30000
31-JanJanC10000
28-FebFebA40000
28-FebFebB10000
28-FebFebC30050
31-MarMarA53330
31-MarMarB30000
31-MarMarC45000

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

😍Thank you so much Ashish Mathur!!
This really help

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@cathyloo , Create common tables Date(with Month, Qtr, year etc) and Agent Sales and join with both tables and analyze data together

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

 

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks amitchandak , will try this out.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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