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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

I want display data in dial guage for two different ways

Hi ,

 

I have set of Operators which are segregated as if (Chats)Transferred='Y' then show Handled and Transferred as user name otherwise keep as it is the operator name - which i have implemented in User column - Image 1

By default  I am showing average of overall column of last 4 weeks in each Dial Guage visual ( Excluding handled and transferred user) i.e. Transferred='N' (Image 2) 

But on selection handled and transferred from slicer the dial guage should display average of overall of last 4 weeks in each dial guage visual ( only for handled and transferred users)

 

Please help me how can i perform different operation on same visual .

 

Image 1Image 1Image 2Image 2

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi ,

 

I am able to show default values in dial guage by excluding handled and transferred  , but i am facing problem for - if i select handled and transferred from slicer then the dial guage values becomes Blank , but it should give me average of overall for handled and transferred there.

 

i.e. 1. By default - handled and transferred should be excluded

     2. On selection of slicer - it should calculate average of handled and transferred overall.

 

Please help me!!

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

 

If I understand you correctly, you will need to create a measure using SELECTEDVALUE() function to get the selected value and ISFILTERED() function to determine if the slicer is filtered.

Please refer to below measure and the result would be show as below.

Measure = 
IF (
    ISFILTERED ( 'Table 2'[Name] ),
    CALCULATE (
        AVERAGE ( 'Table'[amount] ),
        FILTER ( 'Table', 'Table'[Name] = SELECTEDVALUE ( 'Table 2'[Name] ) )
    ),
    CALCULATE (
        AVERAGE ( 'Table'[amount] ),
        FILTER ( 'Table', 'Table'[Name] <> "D" )
    )
)

1.PNG

2.PNG
BTW, Pbix as attached, hopefully works for you.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi  @Anonymous ,

 

If i understand you correctly, you can use ISFILTERED() function to exclude handled and transferred user by default.

For Example:

IF(NOT(ISFILTERED('Tablename'[Columnname])),ResultIfTrue,ResultIfFalse)


Best Regards,

Jay 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Anonymous
Not applicable

Hi ,

 

I am able to show default values in dial guage by excluding handled and transferred  , but i am facing problem for - if i select handled and transferred from slicer then the dial guage values becomes Blank , but it should give me average of overall for handled and transferred there.

 

i.e. 1. By default - handled and transferred should be excluded

     2. On selection of slicer - it should calculate average of handled and transferred overall.

 

Please help me!!

Anonymous
Not applicable

Hi @Anonymous ,

 

If I understand you correctly, you will need to create a measure using SELECTEDVALUE() function to get the selected value and ISFILTERED() function to determine if the slicer is filtered.

Please refer to below measure and the result would be show as below.

Measure = 
IF (
    ISFILTERED ( 'Table 2'[Name] ),
    CALCULATE (
        AVERAGE ( 'Table'[amount] ),
        FILTER ( 'Table', 'Table'[Name] = SELECTEDVALUE ( 'Table 2'[Name] ) )
    ),
    CALCULATE (
        AVERAGE ( 'Table'[amount] ),
        FILTER ( 'Table', 'Table'[Name] <> "D" )
    )
)

1.PNG

2.PNG
BTW, Pbix as attached, hopefully works for you.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Anonymous
Not applicable

Thank you so much ...It worked

Anonymous
Not applicable

Hi @Anonymous ,

 

Could you please mark my answer as a solution if it solved your problem😁.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors