This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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?
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 27 | |
| 20 | |
| 19 |