Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
How to add a static tooltip in power bi?
I am new here and I want to add a tooltip that shows the median value,0.25th percentile and 0.75th precentile for a group of population.I have the measures to calculate these values but they change when a selection is made on the other widgets and also since this is a bar graph showing different segments,they also change based on the segments which is not desired.The median,0.25 and 0.75th precentile should be static to make sense out of the visual.
Can anyone help me ?
Solved! Go to Solution.
Hi @Anonymous ,
We can use ALL function to ignore filter. Here I created a sample for your reference.
Measure = VAR sel = SELECTEDVALUE ( 'Table'[catgory] ) VAR per = DIVIDE ( CALCULATE ( SUM ( 'Table'[value] ) ), CALCULATE ( SUM ( 'Table'[value] ), ALL ( 'Table' ) ) ) VAR per2 = DIVIDE ( SUM ( 'Table'[value] ), CALCULATE ( SUM ( 'Table'[value] ), ALLSELECTED ( 'Table' ) ) ) RETURN IF ( sel = "a", per, per2 )
Hi @Anonymous ,
We can use ALL function to ignore filter. Here I created a sample for your reference.
Measure = VAR sel = SELECTEDVALUE ( 'Table'[catgory] ) VAR per = DIVIDE ( CALCULATE ( SUM ( 'Table'[value] ) ), CALCULATE ( SUM ( 'Table'[value] ), ALL ( 'Table' ) ) ) VAR per2 = DIVIDE ( SUM ( 'Table'[value] ), CALCULATE ( SUM ( 'Table'[value] ), ALLSELECTED ( 'Table' ) ) ) RETURN IF ( sel = "a", per, per2 )
Muchas gracias
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
66 | |
57 | |
49 | |
47 |