cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

count function issue

Count function gives round figure on PowerBI Desktop but when same report is published to the service it gives decimal number which in some cases doesn't make sense.

 

For example, decimal number in count of people is not meaningful.     

 

Capture.PNGSeen in PowerBI service

3 REPLIES 3
Super User
Super User

Re: count function issue

Out of curiousity, what is setting the "whole number" aspect of your value? Do you have it set to "whole number" in the data model? Data model, Modeling, select the column and make sure that Data Type and Format are "Whole Number". You can impact how the card is displayed in the Service. Click the visual in the Service editing the Report and click the paintbrush icon. Under Data label, change the Display and Decimal options.

 

 


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

Proud to be a Datanaut!


greggyb New Contributor
New Contributor

Re: count function issue

Decimal in a number displayed in thousands is meaningful. Like @Greg_Deckler said, you can change the units of display for a card to avoid using units.

Super User
Super User

Re: count function issue

thanks @Greg_Deckler and @greggyb, I was able to resolve this successfully.