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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.