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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have calculated Mean by site for all assets under one site
Now I need to create a line for Average on this chart which would give total Hours for all 4 sites combined/Total F for all 4 sites combined ( to comapre site average with total average)
Using the same Mean as line dosent help
Solved! Go to Solution.
// NOTE: Measures should never be preceded by
// the table name they sit in. On the other
// hand, columns should always be preceded
// with the name of the table they belong to.
Mean = DIVIDE( [Hours], [F] )
// Assuming that your measures aggregate
// correctly...
[Overall Mean] =
CALCULATE(
[Mean],
ALLSELECTED( T[Site] )
)
// or if the above doesn't work (but it should)...
[Overall Mean] =
DIVIDE(
CALCULATE(
[Hours],
ALLSELECTED( T[Site] )
),
CALCULATE(
[F],
ALLSELECTED( T[Site] )
)
)
// NOTE: Measures should never be preceded by
// the table name they sit in. On the other
// hand, columns should always be preceded
// with the name of the table they belong to.
Mean = DIVIDE( [Hours], [F] )
// Assuming that your measures aggregate
// correctly...
[Overall Mean] =
CALCULATE(
[Mean],
ALLSELECTED( T[Site] )
)
// or if the above doesn't work (but it should)...
[Overall Mean] =
DIVIDE(
CALCULATE(
[Hours],
ALLSELECTED( T[Site] )
),
CALCULATE(
[F],
ALLSELECTED( T[Site] )
)
)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |