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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors