Forum Discussion

ak77's avatar
ak77
Post Patron
2 years ago
Solved

Subtotal Empty or NA Display

Hi team.

 

i have the unique requirement for Matrix Viz. Please check and help if it can be done.

 

The user wants the Excess Return(Sub Total) to be displayed NA or blank if the Benchmark values are not available . in the below Example the last 2 Subclass does not have related benchmark so the subtotal (Excess Return) should be displayed blank/NA . Please help if it is possible

 

i have attached the sample PBIX for reference  in the below link

https://drive.google.com/file/d/1nwyqSKx6lgR-jUH1SgPFgH3BGkzpPC5O/view?usp=sharing

 

 

 

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ak77 ,

    Please try:

    Measure1_e = 
    IF (
        NOT HASONEVALUE ( 'Asset Class Performance1'[Asset / Sub-Class] )
            || ISINSCOPE ( 'Asset Class Performance1'[Asset / Sub-Class] ),
        [Measure1]
    )

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

  • ak77's avatar
    ak77
    Post Patron

    Anonymous , Perfect Solution !. Thanks much for helping new bie like me as always 

  • ak77's avatar
    ak77
    Post Patron

    Anonymous , Hi One more question . Please check and let me know if this is possible.

     

    is there a way if this Excess return label can be made blank too?

     

     

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi ak77 ,

      This cannot be achieved.