Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have this measure :-
how do i get my pbi measuire to match 145.75388 avg instead of 145.788
Solved! Go to Solution.
Hi @reemadsouza ,
I create a table as you mentioned.
Then I create a new table and here is the DAX code.
Table 2 =
SUMMARIZE(
'Table',
'Table'[ID],
"TotalCount", SUM('Table'[Count])
)
So you can calculate what you want.
Average = AVERAGE('Table 2'[TotalCount])
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hii, @reemadsouza
you can try this,
first sum of count
total count = SUM('Table (3)'[count])
second avg the total count,
avg = AVERAGEX(VALUES('Table (3)'[id]),[total count])
Hi @reemadsouza ,
I create a table as you mentioned.
Then I create a new table and here is the DAX code.
Table 2 =
SUMMARIZE(
'Table',
'Table'[ID],
"TotalCount", SUM('Table'[Count])
)
So you can calculate what you want.
Average = AVERAGE('Table 2'[TotalCount])
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @reemadsouza, give this measure a try, and if you encounter any issues, let me know.
Corrected Avg =
VAR TotalTimeInMinutes = SUMX(
FILTER(
'Ticket Times',
NOT(ISBLANK('Ticket Times'[Trip Time (s)]))
),
'Ticket Times'[Trip Time (s)] / 60
)
VAR NonBlankTicketCount =
CALCULATE(
DISTINCTCOUNT('Ticket Lines'[Ticket Number]),
FILTER('Ticket Times', NOT(ISBLANK('Ticket Times'[Trip Time (s)])))
)
RETURN
DIVIDE(TotalTimeInMinutes, NonBlankTicketCount)
Did I answer your question? If so, please mark my post as the solution! ✔️
Your Kudos are much appreciated! Proud to be a Solution Supplier!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
15 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |