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
Anonymous
Not applicable

Sum different values from distinctcount

It seems to be working in a table but it doesn't work when I use a bar chart. My hypothesis is that each company name is different so it does not understand that all the company names should be summerized when I want to see the weekly amount.

 

Measures/columns I used:

  • Company Names
  • Distinctcount of Company names
  • Date column (weeks)

Then I used filter level visuals:

  • Active Products is 0
  •  Terminated products 0>

In powerBi I get a table like the picture below.

HelpBI2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HelpPBI.PNG

1 ACCEPTED SOLUTION

Hi @Anonymous 

Why not adding "Leaving customer" in the "Value" field?

1.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
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

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

As tested with this data, it seems bar chart also shows well.

3.pngPlease show me with your bar charts to let me know what difference.

 

Best Regards
Maggie

Anonymous
Not applicable

Thanks for your reply!

 

When I turn the table into a bar chart, it shows all company names per week with value 1.

When I exclude company name in the axis it doesn't show any values at all.

*EC under value = distinctcount of company name

*Blurred out customer names of course

Snip.png

Hi @Anonymous 

Is this problem sloved? 

If it is sloved, could you kindly accept it as a solution to close this case?

If not, please let me know.

 

Best Regards

Maggie

Hi @Anonymous 

Why not adding "Leaving customer" in the "Value" field?

1.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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