Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 36 | |
| 30 | |
| 26 |