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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
MALG731209-1
New Member

Helps with counting

Hello everyone!

I hope someone can support me with some idea or solution to the following:

I have a fact table where per month you have how many pieces each employee processes, in the same table there is a category (very productive, productive and non-productive) in the table you have the employee ID, the date, the pieces among other fields.

This table is related to two dimension tables, the calendar and the branch office.

I need to get a report where I can see how many employees the employee's category table has, per month, per branch.

I couldn't generate a measure that allows me not to add up for every dimension and be able to get that proportion each group keeps out of the total

I approached with a DISTINCOUNT, but I couldn't get a total that I can use as a denominator to get the %

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @MALG731209-1 

 

It’s my pleasure to answer for you.

According to your description,I think you can create a measure with ' distincount'.First you need to create relationships between tables.

Like this:

3.png

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

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

View solution in original post

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @MALG731209-1 

 

It’s my pleasure to answer for you.

According to your description,I think you can create a measure with ' distincount'.First you need to create relationships between tables.

Like this:

3.png

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

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

Ashish_Mathur
Super User
Super User

Share some data and show the expected result.


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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors