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
Buatti
Frequent Visitor

Sales performance by year by employee

Hi,

 

I need to summarise the sales performance for an employee dimension where I have the employees listed in one query and the sales by year in another query. This second query only shows employees where they made sales.

 

I need a column to show sales performance e.g. "high", "low", ",no sales" for each employee. But how can I show this for the employees with no sales as they won't be in the sales query?

 

If I add the status in the sales query, it comes up blank for employees with no sales as there is no related record between the employee table and sales table. I don't want to merge these queries because it will duplicate the employee records for each year in the sales query. My report page will only ever be filtered to one single year.

1 REPLY 1
olgad
Super User
Super User

Hi, if you add +0 to your sales measure 

Sales=Sum(Revenue)+0

Then those employees will show up in your sales table, if you dont beed them in your visuals you will have to filter them out, but this way they will be included into mapping low


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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