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

DAX error duplicates results

Hi and thank you for your interest!

 

I'm need to calculate the company size of each registrant to a webinar versus various segments of clients as showned here:

 

Screen Shot 04-29-21 at 04.47 PM.PNG

As you see, I get it twice/duplicated! I only have 5 options in my DB (+ unfilled) and it gives me 10.

 

I don't need a formula there:

Axe = I am

Legend = company size

Value = number of company size

 

Anyway, if I do it with a formula such as COUNTX, I get the same error

And DISTINCTCOUNT counts 10 different values instead of 5!

I have tried with 2 different DB (registrants & Attendees) and same error.

 

My 1st BI project goes so well... but this and I'm really stuck, I an't understand despite it is so simple. I would appreciate so much your help! 😉

 

Philippe

 

2 ACCEPTED SOLUTIONS
negi007
Community Champion
Community Champion

@Anonymous  if it is possible, you can create a group which can group similar items into one group and then you can use that group in your chart. Right click on your cny size column, you will get option to create a group. Here you can group items which should be part of one group and then create 5 or 6 groups that you wish to have.

 

negi007_0-1619710533113.png

i hope it resolve your issue.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

Whether the problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with yours. 

On the other hand, if the problem has not been solved, could you please check if the company size has only the six options in the screenshot below as @AlexisOlson suggested? The field company size is default field or calculated column? Please provide the related formula if it is a calculated column and some sample data in order to make troubleshooting. Thank you.

yingyinr_2-1620108660815.png

Best Regards

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi, thanks for your help. No I've checked and rechecked this...

Anonymous
Not applicable

Hi @Anonymous ,

Whether the problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with yours. 

On the other hand, if the problem has not been solved, could you please check if the company size has only the six options in the screenshot below as @AlexisOlson suggested? The field company size is default field or calculated column? Please provide the related formula if it is a calculated column and some sample data in order to make troubleshooting. Thank you.

yingyinr_2-1620108660815.png

Best Regards

negi007
Community Champion
Community Champion

@Anonymous  if it is possible, you can create a group which can group similar items into one group and then you can use that group in your chart. Right click on your cny size column, you will get option to create a group. Here you can group items which should be part of one group and then create 5 or 6 groups that you wish to have.

 

negi007_0-1619710533113.png

i hope it resolve your issue.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Anonymous
Not applicable

Thank you for your help and apologize for such late answer... yes, I still don't understand the bug but this solution did work fine. Thanks again.

AlexisOlson
Super User
Super User

My first guess would be that some of your company size values have extra whitespace in the text.

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.

Top Solution Authors