Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Query using a funnel chart

Hi All,     Want to remove (percent of first & percent of previous) in funnel chart, is there any options to remove or any alternative looking forward for you solutions.   Thanks in Advan...
  • v-henryk-mstf's avatar
    v-henryk-mstf
    4 years ago

    Hi Anonymous ,

     

    It is not possible to selectively remove content from a prompt message, so I would suggest that you customize a tooltip using my approach, referencing something like the following.

     

    M_tooltip =
    VAR a =
        SELECTEDVALUE ( 'Table'[category] )
    RETURN
        "sum:"
            & CALCULATE (
                SUM ( 'Table'[value] ),
                FILTER ( ALL ( 'Table' ), a = 'Table'[category] )
            ) & "   " & "category:"
            & CALCULATE (
                MAX ( 'Table'[category] ),
                FILTER ( ALL ( 'Table' ), a = 'Table'[category] )
            )

     

     


    Best Regards,
    Henry


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