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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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