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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have problem in report where I use Direct Query to import data.
When I was importing data to power BI it was easy for me to calculate number of lines in order and then make average of it on Visualization.
But now I have to use measure. ANd I have it
Solved! Go to Solution.
You may refer to the posts below.
You may refer to the posts below.
Thanks a lot.
I don't understand this way but once I made one mesure counting lines and then another masure making average of this first one, it worked. So problem solved.
Sample data would clearly help here. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
But why can't you just use AVERAGE or AVERAGEX ? Why do you need to count?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.