Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I have a column which has 'user name' and it's datatype is 'text'. Currently I am showing the data in card visual which shows distinctcount of username.
However, I would like to show 'Average of number of users'. Since it is in text datatype, could you please advice on how to write the measure to achieve this scenario?
E.g. data:
| Username |
| abc |
| def |
| ghi |
Solved! Go to Solution.
@Arioli_Chezhian This measure for example will calculate the average number of products, year over year. I recommend trying quick measures to learn things like this.
@Arioli_Chezhian What would your average be based on? For example, average number of users over time or average sales by user.
@Anonymous - In a card visual, just need to show the Average of number of users. May be you can consider as average number of users over time.
@Arioli_Chezhian This measure for example will calculate the average number of products, year over year. I recommend trying quick measures to learn things like this.
@Anonymous - Thank you for your response.
Is it possible to get average of distinctcount instead of count?
Try replacing COUNTA with DISTINCTCOUNT
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!