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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
NourJ
Helper III
Helper III

Power BI is counting the header!

Hello Community,

 

Has anyone encountered this issue?
I am using the distinct count in a card visual, not a DAX, just simply selecting my text column, and from the fields I selected the aggregation type is "distinct count". It was working perfectly previously but now it's counting the header!

 

Any suggestions on how to avoid this?

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @NourJ ,

If I understand correctly, you are apply one Text type field on the card visual with the aggregation "Count(Distinct)", it worked before. But now it is not working and counting the header instead of that field. Am I right? Is the problem persist on? What do you mean that counting the header? Could you please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

vyiruanmsft_0-1688353954122.png

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.