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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BDale93
Helper I
Helper I

Value Display only at certain levels of matrix visual

Hello,

 

I have a matrix visual with multiple levels of hiearchy. I would like to display my value fields only at certain levels. I'm able to successfully to this but only with one of the fields, adding additional criteria causes the value to display on all levels.

 

Milestone Amount Filter = IF(HASONEVALUE(one_time_charges[number]),SUM(one_time_charges[base_cost]),BLANK())

BDale93_1-1698336696589.png

 

But when trying to add the additional criteria I get this and I just want to have the 9905 number show on the 2nd level 

Milestone Amount Filter 2.0 = IF(HASONEVALUE(one_time_charges[number]) || HASONEVALUE(one_time_charges[dv_contract]),SUM(one_time_charges[base_cost]),BLANK())

BDale93_2-1698336824306.png

 

Any help would be appreciated!

1 REPLY 1
lbendlin
Super User
Super User

You need a combination of HASONEVALUE and ISINSCOPE and it may still not work because your hierarchy branch may only have a single leaf.  Rethink your requirement.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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