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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
sagarsahoo_123
Helper IV
Helper IV

Want to Display "No Data Available" message in card if both two measure value is blank.

Hi Team,

Request for help to assist one requirement. In my bar graph if two of measures value is blank or zero, it should display "No data Available" message. I tried with one measure blank is working fine but the condition is not working for two measures .

sagarsahoo_123_0-1666894349466.png

If you look at the above picture, i want to show message " No Data Available" like right bottom if my measure [Nippon HC] & [DigiAct HC] is zero or blank.

Please help to resolve. Many thanks in advance.

 

Regards,

Sagar

2 ACCEPTED SOLUTIONS
Greg888
Helper I
Helper I

I did something similar to display a message box over the table/graph should the user select no values from the drop down. I put the return from the measures in card  and put it over the table.

I set a conditional formating of the text Callout value to be the same colour of the background IF the number from the Measure is 0 (thereby hiding it when there is data). 

The background of the card has to be transparent.

I created a measure like this:

No Data = VAR GetData = COUNT(Nippon HC)
Return
IF(ISBLANK(GetData),"No Data available",0)

View solution in original post

Anonymous
Not applicable

Hi @sagarsahoo_123 ,

Please update the formula of measure [No Data] as below and check if it works or not...

No Data =
IF (
    (
        ISBLANK ( [Nippon HC] )
            || [Nippon HC] = 0
    )
        && (
            ISBLANK ( [DigiACT HC] )
                || [DigiACT HC] = 0
        ),
    "No Data Available",
    ""
)

Best Regards

View solution in original post

4 REPLIES 4
sagarsahoo_123
Helper IV
Helper IV

Hello,

Thanks for your quick support.

But if you look at my earlier posted picture where in the table i have already created two measures like [Nippon HC] & [DigiACT HC] .If the value of this two measures are blank or zero, then only the "No Data Available" message should be displayed in the below Graph.

 

Regards,

Sagar

Anonymous
Not applicable

Hi @sagarsahoo_123 ,

Please update the formula of measure [No Data] as below and check if it works or not...

No Data =
IF (
    (
        ISBLANK ( [Nippon HC] )
            || [Nippon HC] = 0
    )
        && (
            ISBLANK ( [DigiACT HC] )
                || [DigiACT HC] = 0
        ),
    "No Data Available",
    ""
)

Best Regards

Hello,

Thanks a lot for such a quick response. It solved the problem.

Greg888
Helper I
Helper I

I did something similar to display a message box over the table/graph should the user select no values from the drop down. I put the return from the measures in card  and put it over the table.

I set a conditional formating of the text Callout value to be the same colour of the background IF the number from the Measure is 0 (thereby hiding it when there is data). 

The background of the card has to be transparent.

I created a measure like this:

No Data = VAR GetData = COUNT(Nippon HC)
Return
IF(ISBLANK(GetData),"No Data available",0)

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.