Forum Discussion
Query using a funnel chart
- 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.
Hi Henry,
Thanks for the answer.
The problem statement is that the first two pieces of information on the tooltip are required, but the last two (Precent of First and Percent of Previous) are not displayed correctly and are not required, so I asked if there were any options to remove these two from these visuals.
PFA,
Is there any way to remove just these? If it's possible, let me know.
Thanks and regards.
Joelraj M.
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.
- Anonymous4 years agoNot applicable
Thank you so much, Henry