The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
2.Tooltip
Question:
When the Max_Sale_Product measure is used in table it is working fine when selecting top 1 or top 5 value in slicer but when the same measure in used against tooltip it is always showing top 5 value. Why?
Hi community members need your help?
Solved! Go to Solution.
Hi @Balakrishnan_J ,
The issue occurs because tooltips in Power BI often ignore slicer context.
Ensure Slicer Context Propagates
Add the slicer field (TopNTable[Value]) to the tooltip page and ensure it filters the tooltip.
Use IsInScope in the Measure
VAR TopN_Value = IF(ISINSCOPE(TopNTable[Value]), SELECTEDVALUE(TopNTable[Value], 5), 5)
Separate Tooltip Logic
Create a tooltip-specific measure with a fixed or parameter-based TopN value.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Hi @Balakrishnan_J ,
The issue occurs because tooltips in Power BI often ignore slicer context.
Ensure Slicer Context Propagates
Add the slicer field (TopNTable[Value]) to the tooltip page and ensure it filters the tooltip.
Use IsInScope in the Measure
VAR TopN_Value = IF(ISINSCOPE(TopNTable[Value]), SELECTEDVALUE(TopNTable[Value], 5), 5)
Separate Tooltip Logic
Create a tooltip-specific measure with a fixed or parameter-based TopN value.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance