Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
usmanrafiq
Helper I
Helper I

Selected vs other

Hi, 

 

I am showing this chart for selected user (page level filter on User ID) 

 

It shows time spend byCapture.PNGselected user by modules 

 
 
 

how i can i add another blue with each blue bar for showing other users average time for module

 

I have User ID, Module ID and time spent in table

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @usmanrafiq ,

 

You could refer to the following measure:

Measure =
CALCULATE (
    AVERAGE ( 'Table'[time spent] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[Module ID] ),
        'Table'[User ID] <> SELECTEDVALUE ( 'Table'[User ID] )
    )
)

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @usmanrafiq ,

 

You could refer to the following measure:

Measure =
CALCULATE (
    AVERAGE ( 'Table'[time spent] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[Module ID] ),
        'Table'[User ID] <> SELECTEDVALUE ( 'Table'[User ID] )
    )
)

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
lbendlin
Super User
Super User

create another measure that calculates the average across all users, and add it to the values part of the clustered bar chart.

Thanks for the reply,

How can calculate average across all users 

Or 

Calculate average across all users eccept selected one

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.