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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
vimina
Frequent Visitor

Ensuring Tooltip Shows Missing Values from Dim Table Regardless of Slicer Selection in Power BI

To Highlight missing values from dim table,
Current mesaure being used is:

# Data Check =
IF (
    COUNTROWS (
        FILTER (
            ALL ( Fact_Table_Sales[Fact_Code] ),
            NOT ( Fact_Table_Sales[Fact_Code] IN VALUES ( Dim_Table_Region[Dim_Code] ) )
        )
    ) > 0,
    "⚠", "")
The problem is that the tooltip result is filtered when a slicer is selected. However, the requirement is for the tooltip result to remain unchanged even when a slicer is selected. It should always show missing values in the dim table regardless of slicer selection.
vimina_0-1714037162666.png

Attached the pbix file for reference

https://drive.google.com/file/d/1C0_K5kvhmTv0rQkbbpAnHy90cYEXdbJq/view?usp=drive_link
Any help will be highly appreciated.
1 ACCEPTED SOLUTION
johnbasha33
Super User
Super User

@vimina 

To achieve the requirement of showing missing values from the dim table in the tooltip regardless of slicer selection, you need to modify the measure to ignore any slicer context. You can achieve this by using the ALL function on the dim table instead of the fact table. Here's the modified measure:

```DAX
# Data Check =
IF (
COUNTROWS (
FILTER (
ALL ( Dim_Table_Region[Dim_Code] ),
NOT ( Dim_Table_Region[Dim_Code] IN VALUES ( Fact_Table_Sales[Fact_Code] ) )
)
) > 0,
"⚠",
""
)
```

This modification ensures that the measure evaluates the missing values from the dim table without considering any slicer selection on the fact table. Now, the tooltip will display the missing values from the dim table consistently, regardless of slicer selection.


Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

View solution in original post

1 REPLY 1
johnbasha33
Super User
Super User

@vimina 

To achieve the requirement of showing missing values from the dim table in the tooltip regardless of slicer selection, you need to modify the measure to ignore any slicer context. You can achieve this by using the ALL function on the dim table instead of the fact table. Here's the modified measure:

```DAX
# Data Check =
IF (
COUNTROWS (
FILTER (
ALL ( Dim_Table_Region[Dim_Code] ),
NOT ( Dim_Table_Region[Dim_Code] IN VALUES ( Fact_Table_Sales[Fact_Code] ) )
)
) > 0,
"⚠",
""
)
```

This modification ensures that the measure evaluates the missing values from the dim table without considering any slicer selection on the fact table. Now, the tooltip will display the missing values from the dim table consistently, regardless of slicer selection.


Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors