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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
gladies123
Helper I
Helper I

Reg- To hide a value in matrix visualization

Hello,

 

Herewith i attached a image for your reference .. in that image i have highlighted the  portion that is iag(vertical) it will be drill to iag delivery(function) again it will be drill to iag voc(project) and then again dril to Ename & Ecode in that Ename & Ecode it has only ename called (marc) it doesn't have ecode so in this scenario the drill process should be stop in project level  iag voc that is it's shoud not display ename & ecode and their revenue also

 

Thanks in advance

gladies123

ISSUE 1.PNG

 

4 REPLIES 4
v-alq-msft
Community Support
Community Support

Hi, @gladies123 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

 

Proj:

a1.png

 

You may try the following two measures to see if they help.

 

Result1 = 
IF(
    ISINSCOPE(Proj[Ename&Ecode]),
    IF(
        ISERROR(
            VALUE(RIGHT(SELECTEDVALUE(Proj[Ename&Ecode]),1))
        ),
        BLANK(),
        SUM(Proj[Revenue])
    ),
    SUM(Proj[Revenue])
)

OR

Result2 = 
IF(
    ISINSCOPE(Proj[Ename&Ecode]),
    IF(
        ISERROR(
            VALUE(RIGHT(SELECTEDVALUE(Proj[Ename&Ecode]),1))
        ),
        BLANK(),
        SUM(Proj[Revenue])
    ),
    var x = 
        CALCULATE(
            SUM(Proj[Revenue]),
            FILTER(
                Proj,
                NOT(
                    ISERROR(
                        VALUE(RIGHT((Proj[Ename&Ecode]),1))
                    )
                )
            )
        )
    return    
    IF(
        x =BLANK(),
        0,
        x
    )

)

 

 

You need to uncheck the option 'Show items with no data'. Here is the result.

a2.png

 

a3.png

 

Best Regards

Allan

 

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

Hi @v-alq-msft ,

 

thanks for the reply. Still problem is there .  revenue (result)  is gone but still name is dispalying.  the name should not display. so kindly do the needful for this issue.ISSUES.PNG

 

Hi, @gladies123 

 

There is another value 'CTC' put in the 'Value' area. So 'Show items with no data' doesn't work. You may modify the measure "CTC" to blank for the specific level. Or you can remove 'CTC'.

 

Best Regards

Allan

 

 

amitchandak
Super User
Super User

@gladies123 , Not very clear, refer if one of the two can help

https://www.sqlbi.com/articles/clever-hierarchy-handling-in-dax/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors