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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Q&A to count duplicated values

Hi, 

 

When using Q&A to count how many of an item exists within a column, it responds with a de-duplicated count of the column results. 

 

For example a 'Risk' column has 157 items shown by the card on the top left, however when asking the Q&A (just as an example) it displays 90. The column has some duplicate values but this cannot be changed

1.JPG

 

When looking at the column data of the query (below) that is demonstrated further:

2.JPG

 

The column properties for 'Risk' are set to the following (below) but it doesn't matter how I ask the question or what i choose it always displays 90:

3.JPG

 

This is the same for other columns such as 'Company', but used this as an example

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@Anonymous Not sure of a solution for this other than adding a unique ID column like an Index:

Tips and tricks for asking questions with Q&A - Power BI | Microsoft Docs

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

I can reproduce your problem, it will sieve out the duplicate values and Q&A visual will only get the aggregated values of non-duplicate values if the text field contains duplicate values. Maybe you can use another field with unique values to get the number of values instead of Risk field. For example, for the data in the table below, the Date field has unique values, and you can use the following statement to get the count of data: how many infosec Date / show me the count of infosec date.

yingyinr_0-1628584165944.png

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous and @Greg_Deckler 

 

Many thanks for your help. I created a unique ID column seperately (which was a requirement that just churned up for an automation thankfully) i was able to successfully train the Q&A to read the ID column using those field terms. 

 

Greatly appreciated!

Anonymous
Not applicable

Hi @Anonymous ,

I can reproduce your problem, it will sieve out the duplicate values and Q&A visual will only get the aggregated values of non-duplicate values if the text field contains duplicate values. Maybe you can use another field with unique values to get the number of values instead of Risk field. For example, for the data in the table below, the Date field has unique values, and you can use the following statement to get the count of data: how many infosec Date / show me the count of infosec date.

yingyinr_0-1628584165944.png

Best Regards

Greg_Deckler
Community Champion
Community Champion

@Anonymous Not sure of a solution for this other than adding a unique ID column like an Index:

Tips and tricks for asking questions with Q&A - Power BI | Microsoft Docs

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

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